| | |

Bitesize HTML5 – Attributes and Tags

Attributes and Tags

All tags and attributes must be written in lowercase (small letters). Additionally, attribute values should be lowercase when the purpose of the text therein is only to be interpreted by machines. For instances in which the data needs to be human readable, proper title capitalization should be followed.

For machines:

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

For humans:

<a href="http://example.com/" title="Description Here">Example.com</a>

This tag,


And this pair of tags,


This last example was not valid in any version of hypertext, even 30 years ago!

All of these examples would have failed XHTML Validation.

Moving on to Bitesize HTML5 – Attribute Quote Syntax

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *