Marking Up Small Print
ProblemYou 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 © 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:
Post a Comment