The document discusses the reasons for using HTML5, including backwards compatibility, richer media capabilities, and more semantic tags. It provides examples of simplified HTML5 code compared to older HTML versions. Key points are made around proper HTML5 syntax like using boolean attributes without values and updated tag meanings like the <b> tag indicating stylistic offset instead of extra importance.
19. <br>
<br/>
If a tag is empty and requires no closing
tag, slash or no slash is okay.
20. alt
alt=Ham
alt=′Ham′
alt=″Ham″
Attribute values must be provided, with the
value enclosed in quotes.
21. selected
selected=selected
selected=′selected′
selected=″selected″
Boolean (on/off) attributes can omit the
redundant value (but they don’t have to).