Log in | Jump |

Pinoy Tech

Business, Web Design and Web Development
This thing was constructed on March 19, 2008, and it was categorized as Tutorials and Tips, Web Publishing.
You can follow comments through the RSS 2.0 feed. You can leave a comment, or trackback.

We will tackle the anchor tags. Anchor tags are used to link pages.
This is the basic anchor format:


<a href="http://where-do-you-want-to-go.com">Link Text</a>

Attributes

There are certain attributes that affect how a link works.

target

target is used to specify where the the HTML document will should load. Target names should be used to identify the the target. This attribute can be assigned by the attribute name.

Target Description
_blank loads HTML document opens a new window
_parent loads HTML document on the present frameset
_self loads HTML document in the current window
_top loads HTML document in main window and additionally removes all framesets present

Title

title is the tag used to define a mouseover tooltip.
This sample of a link that has a title:


<a title="insert title here">HTML is very easy</a>

name

name is used to signify an anchor position in an HTML document.

This sample has a name attribute in:


<a name="what">HTML is very easy</a>

id

id is a unique identifier that distinguishes an element from all the rest in an HTML document

This sample has an id in it:


<a id="anchor-id">Easy, easy, easy</a>

Summary

Attribute Description
target used to specify where the the HTML document will should load
title used to define a mouseover tooltip
name to signify an anchor position in an HTML document
id a unique identifier that distinquishes an element from all the rest in an HTML document
This thing was constructed by .


You can follow comments through the RSS 2.0 feed. You can leave a comment, or trackback.

One Trackback

  1. Posted July 6, 2008 at 1:50 pm | Permalink

    [...] The best place is to start from the beginning. HTML. [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*