Image via Wikipedia
HTML includes two types of Style Tags:
- logical (a.k.a. phrase elements)
tag the information according to its meaning (e.g., abbr, acronym, code, etc.) - physical
tag the exact appearance of the information (i.e. b, i, etc.)
Rationale: the goal in xhtml is to separate structure elements from style elements, and remove the latter from xhtml. Content should be styled with CSS rather than xhtml. Logical tags describe the structure or semantics of content and are, therefore, preferred over style elements like <b> and <i>.
No comments:
Post a Comment