Example: Tag Name Code Example Browser View
Example: Tag Name Code Example Browser View
Browser
Tag Name Code Example
View
<!--This can be viewed in
comm Nothing will
<!-- the HTML part of a
ent show (Tip)
document-->
<a
ancho href="http://www.domain.co Visit Our
<a -
r m/"> Site (Tip)
Visit Our Site</a>
<b> bold <b>Example</b> Example
<big>
big
<big>Example</big> Example (
(text) Tip)
body
of Contents of
<body <body>The content of
HTML your web
> your HTML page</body>
docum page (Tip)
ent
The contents
of your web
The contents of your
line page
<br> page<br>The contents of
break The contents
your page
of your web
page
Contents of
your web
horizo
page (Tip)
<hr> ntal <hr />
rule
Contents of
your web
page
Contents of
your web
horizo page
<hr> ntal <hr width="50%" size="3" />
rule Contents of
your web
page
Contents of
your web
horizo page
<hr width="50%" size="3"
<hr> ntal
noshade />
rule Contents of
your web
page
Contents of
<hr> your web
(Intern horizo page
<hr width="75%"
et ntal
color="#ff0000" size="4" />
Explore rule Contents of
r) your web
page
<hr> horizo <hr width="25%" Contents of
your web
(Intern page
et ntal
color="#6699ff" size="6" />
Explore rule Contents of
r) your web
page
hypert <html>
ext <head>
marku <meta>
p <title>Title of your web
Contents of
<html langua page</title>
your web
> ge </head>
page
<body>HTML web
page contents
</body>
</html>
<i> italic <i>Example</i> Example
<img src="Earth.gif"
width="41" height="41"
<img> image
border="0" alt="text (Tip)
describing the image" />
Example 1:
<form method=post
action="/cgi- Example
<input input bin/example.cgi"> 1: (Tip)
> field <input type="text" size="10"
maxlength="30">
Submit
<input type="Submit"
value="Submit">
</form>
<input input Example 2: Example
> field 2: (Tip)
(Intern <form method=post
et action="/cgi- Submit
Explore bin/example.cgi">
r) <input type="text"
style="color: #ffffff; font-
family: Verdana; font-weight:
bold; font-size: 12px;
background-color: #72a4d2;"
size="10" maxlength="30">
<input type="Submit"
value="Submit">
</form>
Example 3:
<form method=post
action="/cgi-
bin/example.cgi">
<table border="0"
cellspacing="0"
Example
cellpadding="2"><tr><td
<input input 3: (Tip)
bgcolor="#8463ff"><input
> field
type="text" size="10"
maxlength="30"></td><td
bgcolor="#8463ff"
valign="Middle"> <input
type="image" name="submit"
src="yourimage.gif"></td></
tr> </table>
</form>
<input input Example 4: Example
> field 4: (Tip)
<form method=post
action="/cgi-
bin/example.cgi">
Enter Your Comments:<br>
<textarea wrap="virtual" Submit Clear
name="Comments" rows=3
cols=20
maxlength=100></textarea>
<br>
<input type="Submit"
value="Submit">
<input type="Reset"
value="Clear">
</form>
Example 5:
<form method=post
action="/cgi-
bin/example.cgi">
<center>
Example
Select an option:
5: Tip)
<select>
<option >option 1</option>
<input input Select an
<option selected>option
> field option:
2</option>
<option>option 3</option>
<option>option 4</option>
<option>option 5</option> Submit
<option>option 6</option>
</select><br>
<input type="Submit"
value="Submit"></center>
</form>
<input input Example 6: Example
> field 6: (Tip)
<form method=post
action="/cgi- Select an
bin/example.cgi"> option:
Select an option:<br> Option 1
<input type="radio"
name="option"> Option 1 Option 2
<input type="radio" Option 3
name="option" checked>
Option 2 Select an
<input type="radio" option:
name="option"> Option 3 Selection
<br> 1
<br>
Selection
Select an option:<br>
2
<input type="checkbox"
name="selection"> Selection 1 Selection
<input type="checkbox" 3
name="selection"
checked> Selection 2
<input type="checkbox"
name="selection">Selection 3 Submit
<input type="Submit"
value="Submit">
</form>
Example
1: (Tip)
Example 1: List
item 1
<menu>
<li type="disc">List item o List
1</li> item 2
<li type="circle">List item
2</li> List
<li type="square">List item item 3
3</li>
list
<li> </MENU>
item
Example 2:
Example 2:
i. List
<ol type="i"> item 1
<li>List item 1</li> ii. List
<li>List item 2</li> item 2
<li>List item 3</li> iii. List
<li>List item 4</li> item 3
</ol>
iv. List
item 4
<head>
<link rel="stylesheet"
<link> link type="text/css"
href="style.css" />
</head>
<marq scrolli <marquee bgcolor="#cccccc"
uee> ng loop="-1" scrollamount="2"
(Intern text width="100%">Example
et Marquee</marquee>
(Ti
Explore
p)
r)
<menu> List item
<li type="disc">List item 1
1</li>
<menu <li type="circle">List item o List item
menu
> 2</li> 2
<li type="square">List item
3</li> List item
</menu> 3
<meta name="Description"
content="Description of your
<meta site"> Nothing will
meta
> <meta name="keywords" show (Tip)
content="keywords describing
your site">
<meta HTTP-
<meta EQUIV="Refresh" Nothing will
meta
> CONTENT="4;URL=http://ww show (Tip)
w.yourdomain.com/">
<meta <meta http-equiv="Pragma" Nothing will
meta
> content="no-cache"> show (Tip)
<meta <meta name="rating" Nothing will
meta
> content="General"> show (Tip)
<meta <meta name="robots" Nothing will
meta
> content="all"> show (Tip)
<meta <meta name="robots" Nothing will
meta
> content="noindex,follow"> show (Tip)
<ol> ordere Numbered Numbered
d list 1. List item
<ol> 1
<li>List item 1</li> 2. List item
<li>List item 2</li> 2
<li>List item 3</li> 3. List item
<li>List item 4</li> 3
</ol> 4. List item
Numbered Special Start 4
I. List item
1
II. List item
2
III. List item
3
IV. List item
4
Capital
Roman
Numerals
Special Start
X. List item
4
<form method=post
action="/cgi-
bin/example.cgi">
<center>
Select an option:
<select>
<option>option 1</option>
Select an
<optio listbox <option selected>option
option: (Tip)
n> option 2</option>
<option>option 3</option>
<option>option 4</option>
<option>option 5</option>
<option>option 6</option>
</select><br>
</center>
</form>
<p> paragr This is an example displaying This is an
aph the use of the paragraph tag. example
<p> This will create a line displaying the
break and a space between use of the
lines. paragraph
tag.
Attributes:
This will
Example 1:<br> create a line
<br> break and a
<p align="left"> space
This is an example<br> between
lines.
Attributes:
Example 1:
This is an
example
displaying the use<br> displaying the
of the paragraph tag.<br> use
<br> of the
Example 2:<br> paragraph
<br> tag.
<p align="right">
This is an example<br> Example 2:
displaying the use<br>
of the paragraph tag.<br> This is an
<br> example
Example 3:<br> displaying the
<br> use
<p align="center"> of the
This is an example<br> paragraph
displaying the use<br> tag.
of the paragraph tag.
Example 3:
This is an
example
displaying the
use
of the
paragraph
tag.
<small small
<small>Example</small> Example (Tip)
> (text)
<strike delete
<strike>Example</strike> Example
> d text
<stron strong <strong>Example</strong Example
empha
g> >
sis
Example 1:
<table border="4"
cellpadding="2"
cellspacing="2"
width="100%">
<tr>
<td>Column 1</td>
<td>Column 2</td>
</tr> Example
</table> 1: (Tip)
Colum Colum
Example 2: (Internet Explorer) n 1 n2
<table border="2"
bordercolor="#336699"
Example
cellpadding="2"
2: (Tip)
cellspacing="2"
<table width="100%">
table Colum Colum
> <tr>
n1 n2
<td>Column 1</td>
<td>Column 2</td>
</tr>
</table> Example
3: (Tip)
Example 3:
Colum Colum
<table cellpadding="2" n1 n2
cellspacing="2" Row 2 Row 2
width="100%">
<tr>
<td
bgcolor="#cccccc">Column
1</td>
<td
bgcolor="#cccccc">Column
2</td>
</tr>
<tr>
<td>Row 2</td>
<td>Row 2</td>
</tr>
</table>
<table border="2"
cellpadding="2"
cellspacing="2"
width="100%">
table
<td> <tr> Colu Colu
data
<td>Column 1</td> mn 1 mn 2
<td>Column 2</td>
</tr>
</table>
<div align="center">
<table>
<tr>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
</tr>
<tr> Colu Colu Colu
<td>Row 2</td> mn 1 mn 2 mn 3
<td>Row 2</td> Row Row Row
table <td>Row 2</td> 2 2 2
<th> heade </tr>
<tr> Row Row Row
r
<td>Row 3</td> 3 3 3
<td>Row 3</td> Row Row Row
<td>Row 3</td> 4 4 4
</tr>
<tr>
<td>Row 4</td>
<td>Row 4</td>
<td>Row 4</td>
</tr>
</table>
</div>
<title> docum <title>Title of your HTML Title of your
ent page</title> web page will
title be viewable in
the title
bar. (Tip)
<table border="2"
cellpadding="2"
cellspacing="2"
width="100%">
table Colu Colu
<tr> <tr>
row mn 1 mn 2
<td>Column 1</td>
<td>Column 2</td>
</tr>
</table>
telety
<tt> <tt>Example</tt> Example
pe
underl
<u> <u>Example</u> Example
ine
Example 1:
List item
1
Example 1:<br>
List item
<br>
2
<ul>
<li>List item 1</li>
<li>List item 2</li>
Example 2:
</ul>
<br> List item
unord
Example 2:<br> 1
<ul> ered
<ul type="disc"> List item
list
<li>List item 1</li> 2
<li>List item 2</li> o List
<ul type="circle"> ite
<li>List item 3</li> m
<li>List item 4</li> 3
</ul>
</ul> o List
ite
m
4
MouseOver PopUps provided by:
More