HTML
HTML
What is HTML?
• Using HTML, you can create a Web page with text, graphics,
sound, and video
Tags
• There are opening and closing tags for many but not all tags;
The affected text is between the two tags
More Tags...
• The opening and closing tags use the same command except
the closing tag contains an additional forward slash /
• Example:
<H1> <I> The Nation </I> </H1>
Structure of a Web Page
<HTML>
• All Web pages share a
<HEAD>
common structure
<TITLE> Example </TITLE>
</HEAD>
<BODY>
• All Web pages should
This is where you would include the text and
contain a pair of <HTML>, images on your Web page.
<HEAD>, <TITLE>, and </BODY>
• The title will also appear on Favorite lists, History lists, and
Bookmark lists to identify your page
Text Formatting
• LINK defines the color of links that have not been visited
• VLINK defines the color of links that have already been visited
• ALINK defines the color of a link when a user clicks on it
Anchors
• Anchors enable a user to jump to a specific place on a
Web site
Anchor
<A NAME=chap2>Chapter 2 </A>
Ordered Lists
• Ordered lists are a list of Here’s how it would look on the
numbered items. Web:
• To create an ordered list, type:
<OL>
<LI> This is step one.
<LI> This is step two.
<LI> This is step three.
</OL>
More Ordered Lists….
• The TYPE=? attribute allows you to change the kind of symbol that
appears in the list.
• A is for capital letters
• a is for lowercase letters
• I is for capital roman numerals
• i is for lowercase roman numerals
Unordered Lists
• An unordered list is a list of Here’s how it would look on the
bulleted items Web:
• To create an unordered list, type:
<UL>
<LI> First item in list
<LI> Second item in list
<LI> Third item in list
</UL>
More Unordered Lists...
• The TYPE=? attribute allows you to change the type of bullet that
appears
• circle corresponds to an empty round bullet
• square corresponds to a square bullet
• disc corresponds to a solid round bullet; this is the default value