INPUT
<p> the dragon fell to the ground, releasing an
anguished cry and seethe in pain. The thrust of enigern’s sword proved fatal as
the dragon reached its last breath. Now enigern was free to release lad
aelfleada for imprisonment in the dragon’s lair. </p>
OUTPUT
FIGURE 4.3 AN HTML PARAGRAPH.
LISTS, LISTS, AND MORE LISTS.
In addition to headings and paragraphs, probably the most
common HTML element you’ll use is the list. After this section, you’ll not only
know how to create a list in HTML, but all show to crate several different types
of list-a list for every occasion!
HTML 4.01 defines these three types of lists.
·
Numbered or ordered lists, which are typically
labeled with numbers
·
Bulled or unordered lists, which are typically
labeled with bullets or some other symbol.
·
Glossary lists, in which each item in the list
has a term and a definition for that term, arranged so that the term is somehow
highlighted or drawn out from the text.
NOTE
You’ll also notice a couple of deprecated
list types in the HTML 4.01 specification: menu lists (<menu>) and
directory lists (<dir>). These two list types aren’t frequently used and
support for them varies in browsers. Instead, use the <u1> (or bulleted
list) tags in place of these deprecated list types.
A deprecated tag or attributed is
one that has been marked for removal from future specifications and products.
It may still be supported for historical reasons, but when you created new
pages you should not use deprecated elements or attributes, because future
support for them is not guaranteed.
NOTE
Browsers generally continue to
support deprecated elements for reasons of backward compatibility. There’s
still a need to learn about the deprecated elements because you might run into
them in existing pages.
No comments:
Post a Comment