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 trialkaran Badhwar
Web Development Techdegree Graduate 18,135 PointsValue in lowercase?
Why do we put value in lowercase any reason for that. Will that putting the value same way as the Text will that make any difference.
1 Answer
Heidi Fryzell
Front End Web Development Treehouse Moderator 25,178 PointsHi Karan,
I think it is kind of a standard, though not required, to use lowercase. Form values are HTML attributes, and this is some advice about HTML attributes from w3schools.com:
Use Lowercase Attribute Names
HTML allows mixing uppercase and lowercase letters in attribute names.
However, we recommend using lowercase attribute names, because:
- Mixing uppercase and lowercase names looks bad
- Developers normally use lowercase names
- Lowercase look cleaner
- Lowercase are easier to write
Happy Coding!