HTML and CSS Reference
In-Depth Information
Task
Tag
Example
Create a link
Link to a page within site
<a
href=”x.html”></a>
<a href=”x.html”>This sentence is
linked to a page about X
topic.</a>
Create an e-mail link
<a
href=“mailto:you@x
.com”></a>
you@x.com
Link to an external page
<a
href=http://www.x.c
om
target=”new”></a>
This sentence is linked to
www.x.com.
Insert a graphic
Insert graphic
<img src=”x.gif”>
Align a graphic right or left
<img src=”x.gif”
align=”right”>
Text flows in
to the side of the graphic
when it's aligned right or
left.
<img src=”x.gif”
align=”left”>
Add vertical, horizontal
space around a graphic
<img src=”x.gif”
vspace=”x”>
Creates vertical and
horizontal space around
graphic that nothing can
occupy.
<img src=”x.gif”
hspace=”x”>
Remove/Add border
<img src=”x.gif”
border=”0”>
<img src=”x.gif”
border=”1”>
Search WWH ::




Custom Search