HTML for sodales, LESSON 6
Posted: Sun Dec 05, 2004 9:27 am
LESSON 6
CREATING AN UNORDERED LIST
1) Open up the document you created in LESSON 5 in Notepad.
2) After the link you created in LESSON 5 type in the following code:
3) Save this page and view it according to the instructions in Step 6 of LESSON 1.
Let's explain this:
The unordered list tags are <ul> and </ul>
The list item has a single tag which is: <li>
The reason we call this an unordered list is because the items are not numbered. Ordered lists are the next lesson.
CREATING AN UNORDERED LIST
1) Open up the document you created in LESSON 5 in Notepad.
2) After the link you created in LESSON 5 type in the following code:
- Code: Select all
<ul>
<li>Italia
<li>Germania
</ul>
- Code: Select all
<html>
<head>
<title>
SocietasViaRomana
</title>
</head>
<body bgcolor="white" text="black" link="red" alink="blue" vlink="black" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<b>Hello</b> my name <i>is</i> Lucius.
<br>
I am a member of <u>SocietasViaRomana</u>.
<br>
<br>
<a href="http://www.societasviaromana.org/">Go to SocietasViaRomana</a>
<ul>
<li>Italia
<li>Germania
</ul>
</body>
</html>
3) Save this page and view it according to the instructions in Step 6 of LESSON 1.
Let's explain this:
The unordered list tags are <ul> and </ul>
The list item has a single tag which is: <li>
The reason we call this an unordered list is because the items are not numbered. Ordered lists are the next lesson.