HTML Tags Chart.
To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste
it into your web page.
Tag Name Code Example Browser View
<!-- comment <!--This can be viewed in the HTML part of a
document-->
Nothing will show (Tip)
<a - anchor <a href="http://www.domain.com/">
Visit Our Site</a> Visit Our Site (Tip)
<b> bold <b>Example</b> Example
<big> big (text) <big>Example</big> Example (Tip)
<body>
body of
HTML
documen
t
<body>The content of
your HTML page</body>
Contents of your web
page (Tip)
<br> line
break
The contents of your page<br>The contents
of your page
The contents of your web
page
The contents of your web
page
<center> center <center>This will center your
contents</center>
This will center your
contents
<dd>
definition
descripti
on
<dl>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
</dl>
Definition Term
Definition of the
term
Definition Term
Definition of the
term
<dl> definition
list
<dl>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
</dl>
Definition Term
Definition of the
term
Definition Term
Definition of the
term
<dt> definition
term
<dl>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
<dt>Definition Term</dt>
<dd>Definition of the term</dd>
</dl>
Definition Term
Definition of the
term
Definition Term
Definition of the
term
<em> emphasis This is an <em>Example</em> of using
the emphasis tag
This is an Example of using
the emphasis tag
<embed> embed
object
<embed src="yourfile.mid" width="100%"
height="60" align="center"> (Tip)
<embed> embed
object
<embed src="yourfile.mid" autostart="true"
hidden="false" loop="false">
<noembed><bgsound src="yourfile.mid"
loop="1"></noembed>
Music will begin playing
when your page is loaded
and will only play one time.
A control panel will be
displayed to enable your
visitors to stop the music.
font> font <font face="Times New Roman"
size="4">Example</font> Example (Tip)
<font> font <font face="Times New Roman" size="+3"
color="#ff0000">Example</font> Example (Tip)
<form> form
<form action="mailto:you@yourdomain.com
">
Name: <input name="Name" value=""
size="10"><br>
Email: <input name="Email" value=""
size="10"><br>
<center><input type="submit"></center>
</form>
Name: (Tip)
Email:
Submit
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
heading 1
heading 2
heading 3
heading 4
heading 5
heading 6
<h1>Heading 1 Example</h1>
<h2>Heading 2 Example</h2>
<h3>Heading 3 Example</h3>
<h4>Heading 4 Example</h4>
<h5>Heading 5 Example</h5>
<h6>Heading 6 Example</h6>
<head>
heading
of HTML
documen
t
<head>Contains elements describing the
document</head> Nothing will show
<hr> horizonta
l rule <hr />
Contents of your web
page (Tip)
Contents of your web page
<hr> horizonta
l rule <hr width="50%" size="3" />
Contents of your web page
Contents of your web page
<hr> horizonta
l rule <hr width="50%" size="3" noshade />
Contents of your web page
Contents of your web page
<hr>
(Internet
Explorer)
horizonta
l rule
<hr width="75%" color="#ff0000" size="4"
/>
Contents of your web page
Contents of your web page
<hr>
(Internet
Explorer)
horizonta
l rule
<hr width="25%" color="#6699ff" size="6"
/>
Contents of your web page
Contents of your web page
<html>
hypertext
markup
language
<html>
<head>
<meta>
<title>Title of your web page</title>
</head>
<body>HTML web page contents
</body>
</html>
Contents of your web page
<i> italic <i>Example</i> Example
<img> image
<img src="Earth.gif" width="41"
height="41" border="0" alt="text describing
the image" /> (Tip)This is the meaning of computer engineering if you want know
Comments
Post a Comment