If listings of some items are needed, we will use unordered lists. Inside ul html element, for every item, we will have li element with real content in it.
Both ul and li elements need to be opened and closed properly with a slash at the start of ending tag.
Because order of items is not important we can use attributes: disc, circle, square or none.
We can have other html elements between ul sections, like paragraphs, headings, tables, forms and other.
<!DOCTYPE html>
<html>
<head>
<title>Security Tutorials</title>
<meta charset="utf-8">
<meta name="description" content="Free Security Tutorials">
<meta name="keywords" content="it security, pentesting, hacking">
</head>
<body>
<h1>Unordered Lists</h1>
<ul type="disc">
<li>This is row - 1</li>
<li>This is row - 2</li>
<li>This is row - 3</li>
</ul>
<ul type="circle">
<li>This is row - 1</li>
<li>This is row - 2</li>
<li>This is row - 3</li>
</ul>
<ul type="square">
<li>This is row - 1</li>
<li>This is row - 2</li>
<li>This is row - 3</li>
</ul>
<ul type="none">
<li>This is row - 1</li>
<li>This is row - 2</li>
<li>This is row - 3</li>
</ul>
</body>
</html>
No comments:
Post a Comment