Showing posts with label Anchor. Show all posts
Showing posts with label Anchor. Show all posts

HTML Tutorial - <a> tag

. Tuesday, September 30, 2008
0 comments

Usage : Creates hyperlinks, the text that you can click on in your web browser to go to another web page

Syntax :

<A HREF="URL" params>TEXT-TO-BE-DISPLAYED</A>

Optional Params :

NAME: name a section of the page
TARGET: which window the document should go in
TITLE: suggested title for the document to be opened
onClick: script to run when the user clicks on this anchor
onMouseOver: script to run when the mouse is over the link
onMouseOut: script to run when the mouse is no longer over the link

Example :

<A HREF="http://bloglates.blogspot.com">Bloglates!</A>

produces...

Bloglates!

.