Section 3- Intermediate HTML II
Moving on, lets learn how to implement a little more advanced stuff in HTML, such as lists and bullets, blinking text and marquee.
Adding bullets and lists
HTML provides webmasters an easy way to create attractive bullets and lists for listing things. Before anything else, here's an example of both:
Bullets are created using the <ul> tag and the <li> sub tag for each individual bullet. Its best explained with an example:
The syntax for (numbered) lists is very similar to bullets. Just substitute the <ul> tag with the <ol> tag:
The creators of HTML whipped up a special tag for use when you feel like annoying your surfers- the <blink> tag. Text wrapped inside this tag will blink:
Text can get quite cluttered inside a document; one way to separate the various chunks of text is to use the <hr> tag.
<hr width=100% size=2>
You can adjust the width and height of the rule by changing the width and size attribute, respectively.
Want to quickly and painlessly add a scroller to your page? In IE, a special <marquee> tag is supported that scrolls whatever text you put inside it. Note that this tag is ONLY supported in IE; other browsers will see the entire text, without scroll, from the start:
Copyright © 1998 All Rights Reserved.