HTML and CSS Reference
188.8.131.52. Allowed content
Between the <a> tag and its required end tag, you may put only regular
text, inline elements, line breaks, and images. The browser renders all
of these elements normally, but with the addition of some special effects
to indicate that they are hyperlinks to other documents. For instance,
the popular graphical browsers typically underline and color the text and
draw a colored border around images that are enclosed by <a> tags.
184.108.40.206. The href attribute
Use the href attribute to specify the URL of the target of a hyperlink.
Its value is any valid document URL, absolute or relative, including a
contents of the <a> tag, the browser will attempt to retrieve and display
the document indicated by the URL specified by the href attribute or ex-
A simple <a> tag that references another document might be:
The <a href="http:growing_season.html">growing
season</a> for kumquats in the Northeast.
which appears in the browser display shown in Figure 6-1 .
Figure 6-1. Hyperlink to another HTML document