Html And Xhtml

ADVERTISEMENT

Interactive Media Center
HTML & XHTML Tag Quick Reference
This reference notes some of the most commonly used HTML and XHTML tags. It is
not, nor is it intended to be, a comprehensive list of available tags. Details regarding the
proper use of XHTML are at the end of this document.
Basic Document Tags
What It Is
What It Does
<html></html>
Indicates the start and end of an HTML Document
Defines the portion of the document that contains
<head></head>
essential formatting information. The material in the
head is invisible.
Defines the portion of the document that contains the
<body></body>
visible information.
Body Attributes
What It Is
What It Does
<body bgcolor=?>
Specifies the background color
<body text=?>
Specifies the text color
<body link=?>
Specifies the color of unfollowed links.
<body vlink=?>
Specifies the color of followed links.
<body alink=?>
Specifies the color of links when they are clicked.
NOTE: Body attributes may be combined within the body tag. Example:
<body bgcolor="#FFFFFF" text="#000000" link="#0000CC" vlink="#33CC00"
alink="#FF0000">
Text Tags
What It Is
What It Does
The heading tags display text in sizes ranging from the
<hl></hl>,<h2></h2>,
largest, h1, to the smallest, h6. These specifications
<h3></h3>,<h4></h4>,
are intended to denote the importance data below the
<h5></h5>,<h6></h6>
heading.
<b></b>
Specifies bold text.
<i></i>
Specifies italics text.
<tt></tt>
Specifies a typewriter or teletype-like text.
Creates an emphasis on text that is rendered usually as
<em></em>
italics, but sometimes as bold depending on the
browser.
Creates an emphasis on text that is usually rendered as
<strong></strong>
bold, but sometimes as italics depending on the
browser.
Specifies the font size from 1 to 7. 1 is the largest, 7
<font size=?></font>
the smallest, and 3 is generally the default size.
<font color=?></font>
Specifies font color.
NOTE: Font attributes may be combined within the font tag. Example:
<font size="4" color="#33FF00">Example of combined font attributes. </font>
9/03 R. Lipera v.2.2
1

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 6