HTML Basic Document Links
<html> Ordinary link: <a
<head> href="http://www.example.com/">Link-
<title>Title of document goes text goes here</a>
here</title> Image-link: <a
</head> href="http://www.example.com/"><img
src="URL" alt="Alternate Text" /></a>
<body> Mailto link: <a
Visible text goes here... href="mailto:
[email protected]"
</body> >Send e-mail</a>
</html> A named anchor:
<a name="tips">Tips Section</a>
<a href="#tips">Jump to the Tips
Heading Elements Section</a>
<h1>Largest Heading</h1>
Unordered list
<h2> . . . </h2>
<h3> . . . </h3> <ul>
<h4> . . . </h4> <li>Item</li>
<h5> . . . </h5> <li>Item</li>
</ul>
<h6>Smallest Heading</h6>
Ordered list
Text Elements
<ol>
<p>This is a paragraph</p> <li>First item</li>
<br /> (line break) <li>Second item</li>
<hr /> (horizontal rule) </ol>
<pre>This text is preformatted</pre>
Definition list
Logical Styles
<dl>
<em>This text is emphasized</em> <dt>First term</dt>
<strong>This text is strong</strong> <dd>Definition</dd>
<code>This is some computer <dt>Next term</dt>
code</code> <dd>Definition</dd>
</dl>
Physical Styles
<b>This text is bold</b> Tables
<i>This text is italic</i>
<table border="1">
<tr>
<th>Tableheader</th> Entities
<th>Tableheader</th>
</tr>
< is the same as <
<tr>
> is the same as >
<td>sometext</td>
© is the same as ©
<td>sometext</td>
</tr>
</table> Other Elements
Frames <!-- This is a comment -->
<blockquote>
<frameset cols="25%,75%">
Text quoted from a source.
<frame src="page1.htm" />
</blockquote>
<frame src="page2.htm" />
</frameset>
<address>
Written by W3Schools.com<br />
Forms <a
href="mailto:[email protected]">Email
<form us</a><br />
action="http://www.example.com/test.as Address: Box 564, Disneyland<br />
p" method="post/get"> Phone: +12 34 56 78
</address>
<input type="text" name="email"
size="40" maxlength="50" /> Source :
<input type="password" /> http://www.w3schools.com/html/html_
<input type="checkbox" quick.asp
checked="checked" />
<input type="radio"
checked="checked" />
<input type="submit" value="Send" />
<input type="reset" />
<input type="hidden" />
<select>
<option>Apples</option>
<option
selected="selected">Bananas</option>
<option>Cherries</option>
</select>
<textarea name="comment" rows="60"
cols="20"></textarea>
</form>