GuideML - UL and LI Tags
Created | Updated Apr 20, 2012
The <ul> tag introduces an unordered list (effectively a bulleted list), with each item in that list being denoted by <li> tags.
Syntax and Usage
These are HTML tags, so they can be upper or lower case, but we recommend lower case.
<ul>
<li>...list item 1...</li>
<li>...list item 2...</li>
...more list items...
</ul>
This will insert an unordered list into the entry.
If you want to space out the items in the list, then start your ...list item... elements with <p> and end them with </p>, as in Example Two below.
Known Issues
None.
Example One
The colours of the rainbow are:
- Red
- Orange
- Yellow
- Green
- Blue
- Indigo
- Violet
<p>The colours of the rainbow are:</p> <ul> <li>Red</li> <li>Orange</li> <li>Yellow</li> <li>Green</li> <li>Blue</li> <li>Indigo</li> <li>Violet</li> </ul>
Example Two
Advantages of GuideML include:
Your entries will look good on all platforms, not just web browsers.
The h2g2 parser can pull out extra information from entries and display them in a useful way.
<p>Advantages of GuideML include:</p> <ul> <li><p>Your entries will look good on all platforms, not just web browsers.</p></li> <li><p>The h2g2 parser can pull out extra information from entries and display them in a useful way.</p></li> </ul>