What are tags

The tag is the basic coding unit in the HTML system. Nearly every thing depends on tags, from editing text, creating tables, hyperlinks, or inserting images. Tags are enclosed in angel brackets ( < and > ). The good thing about HTML is that it is not case sensitive, so you can write your tags with either uppercase or lower case letters. Most tags have a start and end tag. The only difference between those two is that the end tag has a slash (/) that identifies it as the end tag. A typical mistake is to forget the slash on the end tag. This leads to a weird look of your page. 

Here are the basic HTML tags:
 
<html></html>
Creates an HTML document.
 
<head></head>
Defines a header. Add this tag immediately below the <html> tag. This tag sets off the title and other information that isn't displayed on the Web page itself 
 
<body></body>
Sets off the visible portion of the document 
 
Header Tags
 
<title></title>
Puts the name of the document in the title bar 
 
<meta name="keywords" content="?"></meta>
Meta tags help search engines index your site. Place keywords for you site here. 
 
<meta name="description" content="?"></meta>
Meta tags help search engines index your site. Place a description for you site here. 
 
Body Attributes
 
<body bgcolor="?">
Sets the background color, using name or hex value 
 
<body text="?">
Sets the text color, using name or hex value 
 
<body link="?">
Sets the color of links, using name or hex value 
 
<body vlink="?">
Sets the color of followed links, using name or hex value 
 
<body alink="?">
Sets the color of links on click 
 
<body background="?">
Tiles an image across the background of your page. 
 
Text Tags 
 
<pre></pre> 
Creates preformatted text 
 
<h1></h1>
Creates the largest headline 
 
<h6></h6>
Creates the smallest headline 
 
<b></b>
Creates bold text 
 
<i></i>
Creates italic text 
 
<tt></tt>
Creates teletype, or typewriter-style text 
 
<cite></cite>
Creates a citation, usually italic 
 
<em></em>
Emphasizes a word (with italic or bold) 
 
<strong></strong>
Emphasizes a word (with italic or bold) 
 
<font face="?"></font>
Allows you to choose a font different from the default 
 
<font size="?"></font>
Sets size of font (from 1 to 7) 
 
<font color="?"></font>
Sets font color, using name or hex value 
 
Formatting 
 
<p></p>
Creates a new paragraph 
 
<p align="?">
Aligns a paragraph to the left, right, or center 
 
<br>
Inserts a line break 
 
<blockquote></blockquote>
indents text from both sides 
 
<div align="?">
A generic tag used to format large blocks of HTML, also used for stylesheets 
 
 

Copyright © 2000, 2001 Proxima Design
Back Home Links e-Mail