Lists in HTML documents

In HTML documents content is embedded into tags such as <p> or <td> etc. To apply list formatting to a set of paragraphs, they have to be enclosed into list item tags ( <li></li>) which in turn are enclosed by list tags for ordered or unordered lists ( <ol></ol> and <ul></ul>).

For example, a list coded as

<ul>

<li>

<p>

Item 1

</p>

</li>

<li>

<p>

Item 2

</p>

</li>

</ul>

would be rendered as

Certain attributes can be applied to above HTML code by either storing them directly with a tag inside the HTML document or by defining styles for respective tag in a CSS style sheet.

Read on to see how above list formatting is applied with application SimplyHTML.