HTML and CSS Reference
In-Depth Information
<a>
Function Defines anchors within a text flow
accesskey , charset , class , coords , dir , HRef ,
hreflang , id , lang , name , onBlur , onClick ,
onDblClick , onFocus , onKeyDown , onKeyPress ,
onKeyUp , onMouseDown , onMouseMove , onMouseOut ,
onMouseOver , onMouseUp , rel , rev , shape , style ,
tabindex , target , title , type
Attributes
End tag
</a> ; never omitted
Contains
a_content
Used in
text
The standards let you use both the name and href attributes within a
single <a> tag, defining a link to another document and a fragment iden-
tifier within the current document. We recommend against this because
it overloads a single tag with multiple functions and some browsers may
not be able to handle it. Instead, use two <a> tags when such a need
arises. Your source will be easier to understand and modify and will work
better across a wider range of browsers.
Search WWH ::




Custom Search