Thursday, June 3, 2010

<a> Anchor Tag

<a href="http://www.varadesigns.com"> Web Designing Services </a>

Usage of the Anchor Tag - link OR hyperlink

<a> an anchor Tag. We can use it in two ways

# Creating a link to another page, by href attribute
# Bookmark inside a Page, by name attribute

href is the most important attribute, it link's to destination.

Link will appear as follows in all browsers

unvisited link - underlined and blue
visited link - underlined and purple
active link - underlined and red


Attributes

class - Classname Element classname
id - id Element id
dir - rtl ltr It tells the text direction for the content
style - definition Element inline style
tabindex - number Element tab order
title - text Element extra information

No comments:

Post a Comment