You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Emphasis tags (<code><strong></code> and <code><em></code>) should be used to add visual distinction between a word or phrase and its surrounding copy. Use <code><strong></code> for plain old attention and <code><em></code> for <em>slick</em> attention and titles.</p>
289
289
<h3>Emphasis in a paragraph</h3>
290
290
<p><ahref="">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
291
+
<p><strong>Note:</strong> It's still okay to use <code><b></code> and <code><i></code> tags in HTML5, but they don't come with inherent styles anymore. <code><b></code> is meant to convey importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
291
292
<h3>Addresses</h3>
292
-
<p>The <code>address</code> element is used for—you guessed it!—addresses. Here's how it looks:</p>
293
+
<p>The <code>address</code> element is used for contact information for its nearest ancestor, or the entire body of work. Here's how it looks:</p>
293
294
<address>
294
-
<strong>Twitter, Inc.</strong><br/>
295
-
795 Folsom Ave, Suite 600<br/>
296
-
San Francisco, CA 94107<br/>
297
-
<abbrtitle="Phone">P:</abbr> (123) 456-7890
295
+
<strong>Twitter, Inc.</strong><br/>
296
+
795 Folsom Ave, Suite 600<br/>
297
+
San Francisco, CA 94107<br/>
298
+
<abbrtitle="Phone">P:</abbr> (123) 456-7890
298
299
</address>
299
-
<p><strong>Note:</strong> Each line in an <code>address</code> must end with a line-break (<code><br /></code>) to properly structure the content as it is read in real life without any styles applied.</p>
300
+
<p><strong>Note:</strong> Each line in an <code>address</code> must end with a line-break (<code><br /></code>) or be wrapped in a block-level tag (e.g., <code>p</code>) to properly structure the content.</p>
300
301
<h3>Abbreviations</h3>
301
302
<p>For abbreviations and acronyms, use the <code>abbr</code> tag (<code>acronym</code> is deprecated in <abbrtitle="HyperText Markup Langugage 5">HTML5</abbr>). Put the shorthand form within the tag and set a title for the complete name.</p>
302
303
</div>
@@ -308,14 +309,14 @@ <h2>Blockquotes</h2>
308
309
<p>
309
310
<code><blockquote></code>
310
311
<code><p></code>
311
-
<code><cite></code>
312
+
<code><small></code>
312
313
</p>
313
314
</div>
314
315
<divclass="span12 columns">
315
-
<p>Be sure to wrap your <code>blockquote</code> around <code>paragraph</code> and <code>cite</code> tags. When citing a source, use the <code>cite</code> element. The CSS will automatically preface a name with an em dash (&mdash;).</p>
316
+
<p>Be sure to wrap your <code>blockquote</code> around <code>paragraph</code> and <code>small</code> tags. When citing a source, use the <code>small</code> element. The CSS will automatically preface a name with an em dash (&mdash;).</p>
316
317
<blockquote>
317
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua...</p>
318
-
<cite>Dr. Julius Hibbert</cite>
318
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua...</p>
<dd>A description list is perfect for defining terms.</dd>
394
-
<dt>Euismod</dt>
395
-
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
396
-
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
397
-
<dt>Malesuada porta</dt>
398
-
<dd>Etiam porta sem malesuada magna mollis euismod.</dd>
393
+
<dt>Description lists</dt>
394
+
<dd>A description list is perfect for defining terms.</dd>
395
+
<dt>Euismod</dt>
396
+
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
397
+
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
398
+
<dt>Malesuada porta</dt>
399
+
<dd>Etiam porta sem malesuada magna mollis euismod.</dd>
399
400
</dl>
400
401
</div>
401
402
</div>
@@ -429,34 +430,34 @@ <h2>Building tables</h2>
429
430
<h3>Example: Default table styles</h3>
430
431
<p>All tables will be automatically styled with only the essential borders to ensure readability and maintain structure. No need to add extra classes or attributes.</p>
<p>Taking the previous example, we improve the usefulness of our tables by providing sorting functionality via <ahref="http://jquery.com">jQuery</a> and the <ahref="http://tablesorter.com/docs/">Tablesorter</a> plugin. <strong>Click any column's header to change the sort.</strong></p>
<p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you'll want to apply these to only <code>a</code>, <code>button</code>, and select <code>input</code> elements. Here's how it looks:</p>
0 commit comments