Glubase - share your knowledge


All / Computers / Programming / HTML / XHTML





  • View Command

HTML / XHTML Reference

HTML / XHTML a definition

Syntax

<a> ... </a>

Description

Anchor

Link to another document or a place in current webpage.

Attributes

Attribute Description
href = url The URL to the webpage or file that the link should point to.
name = cdata  
rel = link types  
rev = link types  
type = content type Content-type of link.
target = frame target What frame or window to open the link in.
hreflang = language code  
charset = charset  
accesskey = character  
tabindex = number  
shape = shape  
coords = coords  
onfocus = script When the link recieves focus.
onblur = script When the link loose focus.
common attributes  

The Common Attribute TITLE can be used to display a popup description of the link.

Example

[Try this example yourself]
<a href="http://www.glubase.com">
  Glubase
</a>

Output

  • Comments

No comments added.