Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 06-16-2009, 01:28 PM POST vs post
fog
fog's Avatar
Experienced Talker

Posts: 47
Location: Florida
Trades: 0
I am trying to learn html and css, slow but sure. I am using Dreamweaver CS4 as both an editor and to do some things for me. I created a page that has a form on it that stores two fields in a table in a MySQL database. Works fine.

I put the page through the W3C validation service and it had one error, Dreamweaver put inserted POST for the method instead of post (lower case). I changed the case and the form still works as before and now the page has no errors.

My question is: If it worked in all upper case and works in lower case why worry about it? Does it make a difference? Is validation worth the hassle other than knowing the code is correct?

I am interested in learning the whys of validation.
fog is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-16-2009, 03:05 PM Re: POST vs post
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Validation is not, and should not, be the be-all and end-all goal. However, validation is important because it shows errors in your code that could cause problems, unintended results etc. Depending on the doctype you're using, some things are just not valid - such as upper case tags and attributes in XHTML Strict, and other things like <font> tags and the "target=" attribute.

There are some things the validator spews out as warnings that I don't stress over. However, in the pursuit of future-proofing your code, validation is something you should be mindful of. What works today, even if it's 'wrong'.. may not work right 2 years from now.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-16-2009, 05:27 PM Re: POST vs post
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
LNR pretty much covered it all above, but I'll add a little.

What's being validated depends on the doctype you're using. HTML is usually ok with the caps, but xhmtl isn't. HTML will also be fine with the lower case so in general you should always use lower case.

It's been a very long time since I used DreamWeaver, but I think there's a setting somewhere about using xhtml or html when it spits out code. You probably want to set that to xhtml even if you are using html doctypes.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-17-2009, 03:47 PM Re: POST vs post
fog
fog's Avatar
Experienced Talker

Posts: 47
Location: Florida
Trades: 0
Thank you both for the input.
fog is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to POST vs post
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.91969 seconds with 12 queries