Headings, Text and Lists

Headings

Regular content pages should always start with a heading level one, using the standard markup:

<h1>Heading</h1>

There must not be more than one heading 1 on a page.

All headings on your views must use the standard <h#> markup.

<h2>Heading level 2</h1>
<p>Text paragraph</p>
<h3>Heading level 3</h1>
<p>Text paragraph</p>
<h4>Heading 4</h4>
<p>Text paragraph</p>

Rendered result:

Heading level 2

Text paragraph

Heading level 3

Text paragraph

Heading 4

Text paragraph

Headings and paragraphs of text wrapped in the standard p tag will be formatted correctly with the included style sheets from the asset host. Be sure not to override the styling in your own application if you don't have a good reason for that. Discuss with the Central Web Group if that is the case.

Lists

Lists must use the standard markup.

<ul>
  <li>This list is an unordered list.</li>
  <li>Another item</li>
</ul>
<ol>
  <li>This list is an ordered list.</li>
  <li>Another item</li>
</ol>

Rendered result:

  • This list is an unordered list.
  • Another item
  1. This list is an ordered list.
  2. Another item

Senast ändrad: 2011-03-06 11:59