Chapter 4
HTML Tags and Attributes
Contents
4.1 Markup: Presentational, Structural, Semantic. 36
4.2 Tags.......................... 37
4.2.1 Most Tags Come in Pairs.............. 38
4.2.2 Some Tags Stand Alone (Void)........... 39
4.2.3 Starting and Ending a Tag............. 39
4.2.4 Nesting and Overlapping Markup.......... 40
4.3 Tag Attributes.................... 41
4.3.1 Blank Attribute Values............... 41
4.3.2 Spacing........................ 41
4.3.3 Quote Marks..................... 42
4.4 Global Attributes.................. 45
4.4.1 style=......................... 46
4.4.2 id=.......................... 46
4.4.3 class=......................... 47
4.4.4 title=......................... 47
4.4.5 hidden= (Advanced)................. 47
In this chapter we will provide more information about HTML markup.
4.1 Markup: Presentational, Structural, Semantic
Content is more than meets the eye. It is the meaning.
36