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

HTML Tags

This document summarizes basic HTML tags used to structure web pages and format text. It includes tags for the page structure (<html>, <head>, <body>), text formatting (<b>, <i>, <u>, etc.), paragraphs and breaks (<p>, <hr>, <br>), headings (<h1>-<h6>), font properties (<font>, <center>), links (<a>), and images (<img>). It also provides examples of how to use each tag and what they control.

Uploaded by

Jo-Ber Agcanas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views2 pages

HTML Tags

This document summarizes basic HTML tags used to structure web pages and format text. It includes tags for the page structure (<html>, <head>, <body>), text formatting (<b>, <i>, <u>, etc.), paragraphs and breaks (<p>, <hr>, <br>), headings (<h1>-<h6>), font properties (<font>, <center>), links (<a>), and images (<img>). It also provides examples of how to use each tag and what they control.

Uploaded by

Jo-Ber Agcanas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Introductory HTML Tags and Their Use

August 2001 Basic page skeleton tags There are two basic parts of every HTML document: the head, and the body. The head is where you will put all of the information concerning your page (such as the title). The body is where everything else goes. All formating on web pages is done through tags. Below are the tags to separate the body and head, and to make a title. All pages have the HTML tag (<html>). Tags are not case sensitive, so you can enter in either lower or upper case, the choice is yours.

Tag
<html> <head> <title>name of your page goes here</title> </head> <body> all of your body portion goes here </body> </html> begins all documents begins the head portion titles your webpage ends the head portion begins body portion

Use

Insert all body text here ends body portion ends all documents

Formating tags These tags affect the appearance of the text font

Tag
<b>This text appears in bold</b> <i>This text appears in italics</i> <u>This text appears underlined</u> <tt>This text looks like it was written on a typewriter</tt> <pre>this text appears with all spaces as formated</pre> Tags for Paragraphs and Breaks Bold Italics Underlined Monospaced

Appearance

Preformated-- Text will appear with all spaces and positions input

Tag
<p> <hr> <br> <h1>heading</h1> (biggest) through <h6>heading</h6> (smallest)

Use
Starts new paragraph and skips a line Inserts a horizontal line Starts a new paragraph without skipping line Inserts headings H1, H2, ... , H6 H1 is largest, H6 is smallest

Tags specificaly designed for Netscape and Internet Explorer

Tag
<font size=size>any text</font> <center>text to be centered</center> <text color= xxxxxx > <body bgcolor= xxxxxx >

Use
Changes font size to size (any number--1,2,3) Centers text on browser Changes font color to xxxxxx Changes background color to xxxxxx

Color codes for text and background manipulation: For detailed charts go to http://www.wu-wien.ac.at/usr/h9550532/internet/color.html or http://www.parkerinfo.com/chart.htm or http://www.geocities.com/siliconvalley/network/23971 or search http://www.google.com using html color code as your search terms.

Color
Black White Red Green Blue Magenta Cyan Yellow Tags for Links

Code
#000000 #FFFFFF #FF0000 #00FF00 #0000FF #FF00FF #00FFFF #FFFF00

Tag
<A HREF= URL >Link Text</A> <A NAME= anchor name >Anchor Text</A> <A HREF= #anchor name >Link Text</A> <A HREF=mailto:EmailAddress >Link Text</A> Tags for Images

Use
Link to External Webpage Anchor Internal Link E-Mail

Tag
<IMG SRC= filename > <IMG SRC= filename Align XX>

Use
Insert any image (.gif or .jpg) Align text on right side of image XX=bottem, middle, or top SSS 8-2001

You might also like