A basic guide, including proper usage. The focus is on elements that can't be marked up using the WP editor.
Header ExamplesThe main page header of this guide is an
h1element. Please reserve
h1for individual page titles only. The header above is an
Third-Level HeaderThe header above is an
h3element, which may be used for any form of page-level header which falls below the
h2header in a document hierarchy. More than one may be used per page.
Fourth-Level HeaderThe header above is an
h4element, which may be used for any form of page-level header which falls below the
h3header in a document hierarchy. More than one may be used per page.
blockquotefor quotes. Here’s an example of correct usage:
Many forms of Government have been tried and will be tried in this world of sin and woe. No one pretends that democracy is perfect or all-wise. Indeed, it has been said that democracy is the worst form of government except all those other forms that have been tried from time to time.
- This is a term.
- This is the definition of that term, which both live in a
- Here is another term.
- And it gets a definition too, which is this line.
- Here is term that shares a definition with the term below.
- Here is a defined term.
dtterms may stand on their own without an accompanying
dd, but in that case they share descriptions with the next available
dt. You may not have a
ddwithout a parent
TablesTables should be used when displaying tabular data. The
tbodyelements enable you to group rows within each a table. If you use these elements, you must use every element. They should appear in this order:
tbody, so that browsers can render the foot before receiving all the data. You must use these tags within the table element.
|Ingredients||Serves 12||Serves 24|
|Milk||1 quart||2 quart|
|Vanilla Bean, Split||1||2|
|Mace||10 blades||20 blades|
|Cups Sugar||1 ½ cups||3 cups|
|Dark Rum||1 ½ cups||3 cups|
|Brandy||1 ½ cups||3 cups|
|Vanilla||1 tbsp||2 tbsp|
|Half-and-half or Light Cream||1 quart||2 quart|
|Freshly grated nutmeg to taste|