0% found this document useful (0 votes)
46 views2 pages

p82 BasicTagsReferencesheet 1

The document provides a reference sheet for HTML structure, basic text, link, and image tags. It lists the start and end tags as well as common attributes for tags that include headings, paragraphs, fonts, horizontal rules, links, images, and more. Tags help provide structure and formatting for text, links, and images in HTML documents.

Uploaded by

Narciso Aguda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views2 pages

p82 BasicTagsReferencesheet 1

The document provides a reference sheet for HTML structure, basic text, link, and image tags. It lists the start and end tags as well as common attributes for tags that include headings, paragraphs, fonts, horizontal rules, links, images, and more. Tags help provide structure and formatting for text, links, and images in HTML documents.

Uploaded by

Narciso Aguda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML Tag Reference Sheet (page 82)

Structure Tags

Function Start Tag Attributes End Tag

HTML File <html> none </html>

File Header <head> none </head>

File Title <title> none </title>

Comments <!-- Your comments go between the start and end tags. Put a space -->
between the -- and your comments.

Body <body> background="filename" </body>


bgcolor="color value"
text="color value"
link="color value"
vlink="color value"

Division <div> align="right/left/center" </div>


style="property:value;"
class="classname"

Span <span> style="property:value;" </span>


(inline) class="classname"

Basic Text Tags

Function Start Tag Attributes End Tag

Line Break <br> clear="left/right/all" </br> or <br />

Paragraph <p> align="center/right" </p>

Bold <b> none </b>

Italic <i> none </i>

Typewriter Text <tt> none </tt>

Headline <h1-6> align="center/right" </h1-6>

Font <font> face="name, name" </font>


size="+/-value/fixed size"
color="color value"
Note: the font tag is being phased out in favor of CSS styles.

Horizontal Rule <hr> size="XX" </hr> or <hr />


width="XX/XX%"
noshade

Block Quote <blockquote> none </blockquote>

Division <div> align="left/center/right" </div>


Link Tags

Function Start Tag Attributes End


Tag

Anchor Link <a> href="filename" </a>


target="windowname"

Anchor Mark <a> name="markname" </a>

Image Tags

Function Start Attributes End Tag


Tag

Insert Image <img> src="filename" </img>


align="left/right"
width="XXX"
height="XXX"
alt="text that desribes
image"
ISMAP
USEMAP="#mapname"

You might also like