Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialmarvelousperson206
9,199 Pointsmethod="POST"... all caps?
In the video Nick briefly mentions to put "post" in all caps.. but in another Forms course he does the exact same thing but not in caps. Why is this?
1 Answer
Chris Shaw
26,676 PointsHi Russel,
Here's a snippet from the W3C which leans towards lowercase values over uppercase.
4.11. Attributes with pre-defined value sets
HTML 4 and XHTML both have some attributes that have pre-defined and limited sets of values (e.g. the type attribute of the input element). In SGML and XML, these are called enumerated attributes. Under HTML 4, the interpretation of these values was case-insensitive, so a value of TEXT was equivalent to a value of text. Under XML, the interpretation of these values is case-sensitive, and in XHTML 1 all of these values are defined in lower-case.
Hope that helps.
marvelousperson206
9,199 Pointsmarvelousperson206
9,199 PointsThanks Chris!