User:Kingofcats/HTML cheat sheet

HTML Basic Document Document name goes here

Visible text goes here

Heading Elements Largest Heading . . . . . .  . . .  . ..

Smallest Heading

Text Elements This is a paragraph (line break) (horizontal rule) This text is preformatted Logical Styles This text is emphasized This text is strong Physical Styles This text is bold This text is italic Links, Anchors, and Image Elements This is a Link  Send e-mail A named anchor: Useful Tips Section Jump to the Useful Tips Section

Unordered list  First item Next item  Ordered list <ol> First item</li> Next item</li> </ol> Definition list <dl> <dt>First term</dt> <dd>Definition</dd> <dt>Next term</dt> <dd>Definition</dd> </dl> Tables

Frames <frameset cols="25%,75%"> <frame src="page1.htm"> <frame src="page2.htm">

Forms <form action="http://www.example.com/test.asp" method="post/get"> <input type="text" name="lastname" value="Nixon" size="30" maxlength="50"> <input type="checkbox" checked="checked"> <input type="radio" checked="checked">

Apples Bananas Cherries

<textarea name="Comment" rows="60" cols="20">

Entities &lt; is the same as < &gt; is the same as > &#169; is the same as © Other Elements

Text quoted from some source.

Address 1 Address 2 City

Source : http://www.w3schools.com/html/html_quick.asp