diff --git a/docs/index.html b/docs/index.html index 6cc832344d..c64710695a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -233,6 +233,8 @@
A standard typographic hierarchy for structuring your webpages.
+ +A standard typographic hierarchy for structuring your webpages.
+Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.
+Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.
-Using emphasis, addresses, & abbreviations
-
- <strong>
- <em>
- <address>
- <abbr>
-
Emphasis tags (<strong>
and <em>
) should be used to indicate additional importance or emphasis of a word or phrase relative to its surrounding copy. Use <strong>
for importance and <em>
for stress emphasis.
Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.
-Note: It's still okay to use <b>
and <i>
tags in HTML5, but they don't come with inherent styles anymore. <b>
is meant to highlight words or phrases without conveying additional importance, while <i>
is mostly for voice, technical terms, etc.
The <address>
element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:
Note: Each line in an <address>
must end with a line-break (<br />
) or be wrapped in a block-level tag (e.g., <p>
) to properly structure the content.
For abbreviations and acronyms, use the <abbr>
tag (<acronym>
is deprecated in HTML5). Put the shorthand form within the tag and set a title for the complete name.
Using emphasis, addresses, & abbreviations
+
+ <strong>
+ <em>
+ <address>
+ <abbr>
+
Emphasis tags (<strong>
and <em>
) should be used to indicate additional importance or emphasis of a word or phrase relative to its surrounding copy. Use <strong>
for importance and <em>
for stress emphasis.
Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.
+Note: It's still okay to use <b>
and <i>
tags in HTML5, but they don't come with inherent styles anymore. <b>
is meant to highlight words or phrases without conveying additional importance, while <i>
is mostly for voice, technical terms, etc.
The <address>
element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:
Note: Each line in an <address>
must end with a line-break (<br />
) or be wrapped in a block-level tag (e.g., <p>
) to properly structure the content.
For abbreviations and acronyms, use the <abbr>
tag (<acronym>
is deprecated in HTML5). Put the shorthand form within the tag and set a title for the complete name.
- <blockquote>
- <p>
- <small>
-
Be sure to wrap your <blockquote>
around <p>
and <small>
tags. When citing a source, use the <small>
element. The CSS will automatically preface a name with an em dash (—).
--Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua…
- Dr. Julius Hibbert -
+ <blockquote>
+ <p>
+ <small>
+
Be sure to wrap your <blockquote>
around <p>
and <small>
tags. When citing a source, use the <small>
element. The CSS will automatically preface a name with an em dash (—).
++Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua…
+ Dr. Julius Hibbert +
<ul>
<ul.unstyled>
<ol>
dl
<ul>
<ul.unstyled>
<ol>
dl
- <table>
- <thead>
- <tbody>
- <tr>
- <th>
- <td>
- <colspan>
- <caption>
-
Tables are great—for a lot of things. Great tables, however, need a bit of markup love to be useful, scalable, and readable (at the code level). Here are a few tips to help.
-Always wrap your column headers in a <thead>
such that hierarchy is <thead>
> <tr>
> <th>
.
Similar to the column headers, all your table’s body content should be wrapped in a <tbody>
so your hierarchy is <tbody>
> <tr>
> <td>
.
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.
-# | -First Name | -Last Name | -Language | -
---|---|---|---|
1 | -Some | -One | -English | -
2 | -Joe | -Sixpack | -English | -
3 | -Stu | -Dent | -Code | -
+ <table>
+ <thead>
+ <tbody>
+ <tr>
+ <th>
+ <td>
+ <colspan>
+ <caption>
+
Tables are great—for a lot of things. Great tables, however, need a bit of markup love to be useful, scalable, and readable (at the code level). Here are a few tips to help.
+Always wrap your column headers in a <thead>
such that hierarchy is <thead>
> <tr>
> <th>
.
Similar to the column headers, all your table’s body content should be wrapped in a <tbody>
so your hierarchy is <tbody>
> <tr>
> <td>
.
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.
+# | +First Name | +Last Name | +Language | +
---|---|---|---|
1 | +Some | +One | +English | +
2 | +Joe | +Sixpack | +English | +
3 | +Stu | +Dent | +Code | +
<table class="common-table"> ... </table>- -
Get a little fancy with your tables by adding zebra-striping—just add the .zebra-striped
class.
# | -First Name | -Last Name | -Language | -
---|---|---|---|
1 | -Some | -One | -English | -
2 | -Joe | -Sixpack | -English | -
3 | -Stu | -Dent | -Code | -
Get a little fancy with your tables by adding zebra-striping—just add the .zebra-striped
class.
# | +First Name | +Last Name | +Language | +
---|---|---|---|
1 | +Some | +One | +English | +
2 | +Joe | +Sixpack | +English | +
3 | +Stu | +Dent | +Code | +
<table class="common-table zebra-striped"> ... </table>- -
Taking the previous example, we improve the usefulness of our tables by providing sorting functionality via jQuery and the Tablesorter plugin. Click any column’s header to change the sort.
-# | -First Name | -Last Name | -Language | -
---|---|---|---|
1 | -Your | -One | -English | -
2 | -Joe | -Sixpack | -English | -
3 | -Stu | -Dent | -Code | -
Taking the previous example, we improve the usefulness of our tables by providing sorting functionality via jQuery and the Tablesorter plugin. Click any column’s header to change the sort.
+# | +First Name | +Last Name | +Language | +
---|---|---|---|
1 | +Your | +One | +English | +
2 | +Joe | +Sixpack | +English | +
3 | +Stu | +Dent | +Code | +
<script src="js/jquery/jquery.tablesorter.min.js"></script> <script > @@ -574,299 +580,297 @@ <table class="common-table zebra-striped"> ... </table>-
All forms are given default styles to present them in a readable and scalable way. Styles are provided for text inputs, select lists, textareas, radio buttons and checkboxes, and buttons.
+