h. < h >
We use the < h > tag to represent headings. Some common heading tags are
< h1 >, < h2 >, < h3 >, < h4 >, < h5 >. Let's create a document with headings.
Create a new document called heading.html. Type in the following texts.
< html >
< body >
< br >< br >< br >
< h1 > my heading< /h1 >
< br >
< h2 > my heading < /h2 >
< br >
< h3 > my heading < /h3 >
< br >
< h4 > my heading < /h4 >
< br >
< h5 > my heading < /h5 >
< /body >
< /html >
you should see Figure 4 on the screen.
i.< hr >
Sometimes we need to have a line to delimit the document. We achieve this
by using the < hr > tag. We will show you the implementation in the next example
along with illustration on lists.
j. < ol >
An ordered list can be represented using the < ol > tag. The end tag is
< /ol >. Each item in the list is marked by the list item tag. The format of list
item tag is < li > � < /li >. Just as the name implies, the ordered list is ordered.
[ main page
]