HTML and CSS Reference
In-Depth Information
1.12 Marking Up Small Print
Problem
You want to offset a legal disclaimer and copyright statement as small print.
Solution
Contain the small print content with the small element:
<p><small>The owner of this blog is not responsible for mind blowage. Please
consume at your own risk.</small></p>
<p><small>Copyright &copy; 2011 Awesomest Blog. All rights reserved.</small></p>
Discussion
HTML5 redefined the previously presentational small as semantically appropriate for
content typically considered “small print,” such as legalese, disclaimers, terms, condi-
tions, and copyrights. And though small is supposed to indicate semantics only, brows-
ers do display this content a bit smaller by default (see Figure 1-5 ).
Figure 1-5. The first sentence does not contain the <small> element, while the second does; note the
slightly smaller font size in part of the second sentence
See Also
The W3C Working Draft discussion of text-level semantics in HTML5 includes the
small element at http://www.w3.org/TR/html5/text-level-semantics.html#the-small-ele
ment .
 
Search WWH ::




Custom Search