Web info-x
   
THIS SITE IS FOR SALE
 
 
Lists
 Info-x : Info-x Tutorials and Documents : Lists
Message Icon Topic: HTML Cheat Sheet Post Reply Post New Topic
Author Message
deej
Admin Group
Admin Group


Joined: 22 Nov 1997
Online Status: Offline
Posts: 3
Quote deej Replybullet Topic: HTML Cheat Sheet
    Posted: 14 Dec 2004 at 13:24



























































































































































































































































































































































































































































































































































































































































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

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

Text
Tags
<pre></pre>

Creates preformatted text
<hl></hl>

Creates the largest headline
color=\"#339900\"><h6></h6>

Creates the smallest headline
color=\"#339900\"><b></b>

Creates bold text
color=\"#339900\"><i></i>

Creates italic text
color=\"#339900\"><tt></tt>

Creates teletype, or typewriter-style text
color=\"#339900\"><cite></cite>

Creates a citation, usually italic
color=\"#339900\"><em></em>

Emphasizes a word (with italic or bold)
color=\"#339900\"><strong></strong>


Emphasizes a word (with italic or bold)
color=\"#339900\"><font size=?></font>

Sets size of font, from 1 to 7)
color=\"#339900\"><font color=?></font>

Sets font color, using name or hex value

Links
color=\"#339900\"><a href=\"URL\"></a>

Creates a hyperlink
color=\"#339900\"><a href=\"mailto:EMAIL\"></a>

Creates a mailto link
color=\"#339900\"><a name=\"NAME\"></a>

Creates a target location within a document
color=\"#339900\"><a href=\"#NAME\"></a>

Links to that target location from elsewhere in the document

Formatting
color=\"#339900\"><p></p>

Creates a new paragraph
color=\"#339900\"><p align=?>

Aligns a paragraph to the left, right, or center
color=\"#339900\"><br>

Inserts a line break
color=\"#339900\"><blockquote>
</blockquote>



Indents text from both sides
color=\"#339900\"><dl></dl>

Creates a definition list
color=\"#339900\"><dt>

Precedes each definition term
color=\"#339900\"><dd>

Precedes each definition
color=\"#339900\"><ol></ol>

Creates a numbered list
color=\"#339900\"><li></li>

Precedes each list item, and adds a number
color=\"#339900\"><ul></ul>

Creates a bulleted list
color=\"#339900\"><div align=?>

A generic tag used to format large blocks of HTML, also used for stylesheets

Graphical Elements
color=\"#339900\"><img src=\"name\">

Adds an image
color=\"#339900\"><img src=\"name\" align=?>

Aligns an image: left, right, center; bottom, top, middle
color=\"#339900\"><img src=\"name\" border=?>

Sets size of border around an image
color=\"#339900\"><hr>

Inserts a horizontal rule
color=\"#339900\"><hr size=?>

Sets size (height) of rule
color=\"#339900\"><hr width=?>

Sets width of rule, in percentage or absolute value
color=\"#339900\"><hr noshade>


Creates a rule without a shadow

Tables
color=\"#339900\"><table></table>

Creates a table
color=\"#339900\"><tr></tr>

Sets off each row in a table
color=\"#339900\"><td></td>

Sets off each cell in a row
color=\"#339900\"><th></th>

Sets off the table header (a normal cell with bold, centered text)

Table Attributes
color=\"#339900\"><table border=#>

Sets width of border around table cells
color=\"#339900\"><table cellspacing=#>

Sets amount of space between table cells
color=\"#339900\"><table cellpadding=#>

Sets amount of space between a cell's border and its contents
color=\"#339900\"><table width=# or %>

Sets width of table — in pixels or as a percentage of document width
color=\"#339900\"><tr align=?> or <td align=?>

Sets alignment for cell(s) (left, center, or right)
color=\"#339900\"><tr valign=?> or <td valign=?>

Sets vertical alignment for cell(s) (top, middle, or bottom)
color=\"#339900\"><td colspan=#>

Sets number of columns a cell should span
color=\"#339900\"><td rowspan=#>

Sets number of rows a cell should span (default=1)
color=\"#339900\"><td nowrap>

Prevents the lines within a cell from being broken to fit

Frames
color=\"#339900\"><frameset></frameset>

Replaces the <body> tag in a frames document; can also be nested in other framesets
color=\"#339900\"><frameset rows=\"value,value\">

Defines the rows within a frameset, using number in pixels, or percentage of w
idth
color=\"#339900\"><frameset cols=\"value,value\">

Defines the columns within a frameset, using number in pixels, or percentage of width
color=\"#339900\"><frame>

Defines a single frame — or region — within a frameset
color=\"#339900\"><noframes></noframes>

Defines what will appear on browsers that don't support frames

Frames Attributes
color=\"#339900\"><frame src=\"URL\">

Specifies which HTML document should be displayed
color=\"#339900\"><frame name=\"name\">

Names the frame, or region, so it may be targeted by other frames
color=\"#339900\"><frame marginwidth=#>

Defines the left and right margins for the frame; must be equal to or greater
than 1
color=\"#339900\"><frame marginheight=#>

Defines the top and bottom margins for the frame; must be equal to or greater
than 1
color=\"#339900\"><frame scrolling=VALUE>

Sets whether the frame has a scrollbar; value may equal \"yes,\" \"no,\" or \"auto.\" The default, as in ordinary documents, is auto.
color=\"#339900\"><frame noresize>

Prevents the user from resizing a frame

Forms

For functional forms, you'll have to run a CGI script. The HTML just creates the appearance of a form.
color=\"#339900\"><form></form>

Creates all forms
color=\"#339900\"><select multiple name=\"NAME\" size=?></select>

Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll.
color=\"#339900\"><option>

Sets off each menu item
color=\"#339900\"><select name=\"NAME\"></select>

Creates a pulldown menu
color=\"#339900\"><option>

Sets off each menu item
color=\"#339900\"><textarea name=\"NAME\" cols=40 rows=8></textarea>

Creates a text box area. Columns set the width; rows set the height.
color=\"#339900\"><input type=\"checkbox\" name=\"NAME\">

Creates a checkbox. Text follows tag.
color=\"#339900\"><input type=\"radio\" name=\"NAME\" value=\"x\">

Creates a radio button. Text follows tag
color=\"#339900\"><input type=text name=\"foo\" size=20>

Creates a one-line text area. Size sets length, in characters.
color=\"#339900\"><input type=\"submit\" value=\"NAME\">

Creates a Submit button
color=\"#339900\"><input type=\"image\" border=0 name=\"NAME\" src=\"name.gif\">

Creates a Submit button using an image
color=\"#339900\"><input type=\"reset\">

Creates a Reset button
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Bulletin Board Software by Web Wiz Forums version 8.04
Copyright ©2001-2006 Web Wiz Guide

This page was generated in 0.047 seconds.
  Log in  
User:
Pass:
Remember Me:
Register
Forgot Password
  Christmas Gifts  

Bar Gifts
Xmas Gifts for Him
Xmas Gifts for Dads
Gadgets and Gizmos
Sporting Gifts
Games
Unique Lifestyle Gifts
Geek Gifts
iPod Mains Charger More Gadgets

THIS SITE IS FOR SALE
Sedo - Buy and Sell Domain Names and Websites project info: info-x.co.uk Statistics for project info-x.co.uk etracker® web controlling instead of log file analysis