Click here to bookmark this site! Home | Contact | About | Site Map  
 

Quick Menu

About HTML
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8
Lesson 9
Lesson 10
Lesson 11
Lesson 12
Lesson 13

Advanced

 


Basic Tags
<html></html>
Creates an HTML document
<head></head>
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
Google

Web
Eazy HTML

Site Stats

There are 2 users online
click to see where

70,168 total unique visitors
231,553 total pageviews
85 visitors in the last 24 hours
79 total visitors today
226 pageviews today
This page has been visited 1,086 times

get this script
Most users online at once:
41 on 04/10/2005

Valid CSS!

Valid XHTML 1.0!

Body Attributes
<body background="filename.gif">
Sets the background color, using a image file.(GIF or JPG Recommended)
<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 margin="?">
Sets the margin of your page, using a number value
 
Text Tags
<pre></pre>
Creates preformatted text
<span></span>
A generic tag used to format small inline blocks of HTML, also used for style sheets
<hl></hl>
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
<font size="?"></font>
Sets size of font, from 1 to 7)
<font color="?"></font>
Sets font color, using name or hex value
Logical Text Tags
<em></em>
Emphasizes a word (with italic or bold)
<cite></cite>
Creates a citation, usually italic
<dfn></dfn>
Creates a definition, usually italic
<kbd></kbd>
Creates keyboard, usually bolded
<strong></strong>
Emphasizes a word (with italic or bold)
<samp></samp>
Emphasizes a word (with italic or bold)
 
Links
<a href="URL"></a>
Creates a hyperlink
<a href="mailto:EMAIL"></a>
Creates a mailto link
<a name="NAME"></a>
Creates a target location within a document
<a href="#NAME"></a>
Links to that target location from elsewhere in the document

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
<dl></dl>
Creates a definition list
<dt></dt>
Precedes each definition term
<dd></dd>
Precedes each definition
<ol></ol>
Creates a numbered list
<li></li>
Precedes each list item, and adds a number
<ul></ul>
Creates a bulleted list
<div align="?">
A generic tag used to format large blocks of HTML, also used for style sheets
Graphical Elements
<img src="name">
Adds an image
<img src="name" align="?">
Aligns an image: left, right, center; bottom, top, middle
<img src="name" border="?">
Sets size of border around an image
<img src="name" alt="?">
Shows text when the mouse is moved over the image or if the image isn't available.
<hr />
Inserts a horizontal rule
<hr size="?" />
Sets size (height) of rule 1 - 10
<hr width="?" />
Sets width of rule, in percentage or absolute value
<hr color="?" />
colors the horizontal rule
<hr align="value" />
Aligns the horizontal rule either “right” , “left” , “center”
<hr noshade />
Creates a rule without a shadow

Tables
<table></table>
Creates a table
<tr></tr>
Sets off each row in a table
<td></td>
Sets off each cell in a row
<th></th>
Sets off the table header (a normal cell with bold, centered text)

Table Attributes
<table border="#">
Sets width of border around table cells
<table bordercolor="#">
Sets colour of border around table cells
<table cellspacing="#">
Sets amount of space between table cells
<table cellpadding="#">
Sets amount of space between a cell's border and its contents
<table width="#" or "%">
Sets width of table in pixels or as a percentage of document width
<tr align="?"> or <td align="?">
Sets alignment for cell(s) (left, center, or right)
<tr valign="?"> or <td valign="?">
Sets vertical alignment for cell(s) (top, middle, or bottom)
<td colspan="#">
Sets number of columns a cell should span
<td rowspan="#">
Sets number of rows a cell should span (default="1")
<td nowrap>
Prevents the lines within a cell from being broken to fit
<table rules="value">
“none”, No internal Lines, “rows”, No Row Lines, “cols”, No Column Lines, “all”, Shows all lines, “group”, ????, borders must be left on to see effects.
 
Frames
<frameset></frameset>
Replaces the <body> tag in a frames document; can also be nested in other frame sets
<frameset rows="value,value">
Defines the rows within a frame set, using number in pixels, or percentage of width
<frameset cols="value,value">
Defines the columns within a frame set, using number in pixels, or percentage of width
<frame>
Defines a single frame or region within a frame set
<noframes></noframes>
Defines what will appear on browsers that don't support frames
 
Frames Attributes
<frame src="URL">
Specifies which HTML document should be displayed
<frame name="name">
Names the frame, or region, so it may be targeted by other frames
<frame marginwidth="#">
Defines the left and right margins for the frame; must be equal to or greater than 1
<frame marginheight="#">
Defines the top and bottom margins for the frame; must be equal to or greater than 1
<frame scrolling="VALUE">
Sets whether the frame has a scrollbars; value may equal "yes," "no," or "auto." The default, as in ordinary documents, is auto.
<frame noresize="noresize">
Prevents the user from resizing a frame

Forms
<form></form>
Creates all forms
<select multiple name="NAME" size="?"></select>
Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll.
<option>
Sets off each menu item
<select name="NAME"></select>
Creates a pull down menu
<option>
Sets off each menu item
<textarea name="NAME" cols=40 rows=8></textarea>
Creates a text box area. Columns set the width; rows set the height.
<input type="checkbox" name="NAME">
Creates a checkbox. Text follows tag.
<input type="radio" name="NAME" value="x">
Creates a radio button. Text follows tag
<input type="text" name="xxx" size="20">
Creates a one-line text area. Size sets length, in characters.
<input type="submit" value="NAME">
Creates a Submit button
<input type="image" border="0" name="NAME" src="name.gif">
Creates a Submit button using an image
<input type="reset">
Creates a Reset button


Copyright © 2004 - EazyHTML.com