You are on page 1of 1

htmlcheat sheet

<html tags are made up of elements, which are described by attributes with variable values>

text tags image tags


<em></em> emphasize with italics <img src="URL"> embed an image

<strong></strong> emphasize with bold title="?" name an image

<h1></h1> largest headline alt="?" an alternate name for an image

<h2></h2> second largest headline

<h6></h6> smallest headline


table tags
<font size="?"> numbers 1-7 to determine size
<table></table> create a table
<font color="?"> set font color w/ name or hex code
<th></th> create a header row
<sub></sub> subscripts1
<tr></tr> create a row
<sup></sup> superscripts1
<td></td> create a cell
<del></del> strikethrough
<table border="?"> sets the table border
<code></code> insert codes
<table cellspacing="?"> sets the spacing around cells

<tfoot></tfoot> create a footer row

section tags rowspan="?" a cell that spans multiple rows

<p></p> paragraphs colspan="?" a cell that spans multiple columns

<p align="?"> set the alignment of a paragraph

<br/> insert line break; no closing tag

<blockquote> special characters*


create a blockquote
</blockquote>
&#34; " quotation mark
<ol></ol> numbered list
&#38; & ampersand
<ul></ul> bulleted list
&#60; < less than
<il></il> individual items in a list
&#62; > greater than
<div align="?"> set the alignment of a section
&#64; @ "at" symbol

&#128; € euro

&#149; • small bullet


link tags
&#153; ™ trademark
<a href="URL"></a> create a link
&#163; £ pound
"mailto:?" link to an email address
&#160; non-breaking space
target="_blank" open a link in a new window
&#169; © copyright symbol
rel="nofollow" tell search engines to ignore a link
*these number codes are preferred to the more traditional &copy;
title="?" name a link
because they're more reliably read by all browsers
<a name="?"></a> create a bookmark within a page

<a href="#?"></a> link to a bookmark

Life…Your Way Copyright © 2010 http://life.yourway.net

You might also like