Friday, 1 March 2013

Marking Up Small Print | HTML5 Tutorial pdf

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.</<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, conditions and copyrights. And though small is supposed to indicate semantics only, browsers do display content a bit smaller by default.

No comments: