This blog is NOFOLLOW Free!
Written by Bradford
Posted @ 4:45 pm

Something which is most necessary to be added to the Wiki is an HTML Tag Reference. To this end, I have decided to start a series going through the tags from A-Z. Within a few days of each post I will then update the Wiki with the new information. Today I will start with the Anchor Tag.

The Anchor Tag

<a></a>

a – The Anchor tag, which is most commonly associated with hyperlinks.

 

  • charset – This attribute specifies the character encoding of the target URL.
    Values:

  •  

  • coords – This attribute specifies the coordinates that define a linked region in an image map.
    Values:

    • If the image map is a circle – Enter three coordinates: center-x-axis,center-y-axis,radius
    • If the image map is a polygon – Enter the X/Y coordinates of each corner: x1,y1,x2,y2,x3,y3,x4,y4…
    • If the image map is a rectangle – Enter the X/Y coordinates of each of the four corners: left(x1),top(y1),right(x2),bottom(y2)
  •  

  • href – This attribute specifies the target URL.
    Values:

    • Absolute URLs – Example: webmastersedge.net – Navigates to a new site.
    • Anchor URLs – Example: index.html – Navigates to another page.
    • Relative URLs – Example: #top – Navigates to an anchor within the page.
  •  

  • hreflang – This attribute specifies the target URL’s written language with a two letter language code.
    Values:

  •  

  • name – This attribute names an anchor. While this is widely being replaced with the id attribute, it can be used to set an anchor point which can specify a spot on the page to be “jumped to” by using another hyperlink.
    Values:

    • Can have any value that starts with a letter and only contains: a-z , A-Z , 0-9 , colons , hyphens , periods , underscores
  •  

  • rel – This attribute specifies the relationship between the current document and the target URL.
    Values:

    • alternate – Suggests that the target URL is an alternate version or mirror of the current page.
    • appendix – Suggests that the target URL is an appendix.
    • bookmark – Suggests that the target URL is a related page.
    • chapter – Suggests that the target URL is a chapter of a series of pages.
    • contents – Suggests that the target URL is a table of contents for the current page.
    • copyright – Suggests that the target URL is a page containing copyright information.
    • glossary – Suggests that the target URL is a glossary of terms used in the current page.
    • help – Suggests that the target URL is a help document.
    • index – Suggests that the target URL is an index of the current page.
    • next – Suggests that the target URL is the next page in the current series.
    • prev – Suggests that the target URL is the previous page in the current series.
    • section – Suggests that the target URL is a section of a series of pages.
    • start – Suggests that the target URL is the first page in a series.
    • stylesheet – Suggests that the target URL is an external stylesheet for the current page.
    • subsection – Suggests that the target URL is a subsection of the current series.
  •  

  • rev – This attribute specifies the relationship between the current document and the target URL.
    Values:

    • alternate – Suggests that the target URL is an alternate version or mirror of the current page.
    • appendix – Suggests that the target URL is an appendix.
    • bookmark – Suggests that the target URL is a related page.
    • chapter – Suggests that the target URL is a chapter of a series of pages.
    • contents – Suggests that the target URL is a table of contents for the current page.
    • copyright – Suggests that the target URL is a page containing copyright information.
    • glossary – Suggests that the target URL is a glossary of terms used in the current page.
    • help – Suggests that the target URL is a help document.
    • index – Suggests that the target URL is an index of the current page.
    • next – Suggests that the target URL is the next page in the current series.
    • prev – Suggests that the target URL is the previous page in the current series.
    • section – Suggests that the target URL is a section of a series of pages.
    • start – Suggests that the target URL is the first page in a series.
    • stylesheet – Suggests that the target URL is an external stylesheet for the current page.
    • subsection – Suggests that the target URL is a subsection of the current series.
  •  

  • shape – This attribute defines the shape of an image map.
    Values:

    • circ – Defines a circular region of an image map.
    • circle – Defines a circular region of an image map.
    • default – Defines the entire area an image map.
    • poly – Defines a polygonal region of an image map.
    • polygon – Defines a polygonal region of an image map.
    • rect – Defines a rectangular region of an image map.
    • rectangle – Defines a rectangular region of an image map.
  •  

  • target – This attribute specifies where to open the target URL.
    Values:

    • _blank – Sets the target URL to open in a new window.
    • _parent – Sets the target URL to open in the parent frameset.
    • _self – Sets the target URL to open in the same frame as the link.
    • _top – Sets the target URL to open in current window.
    • wildcard – You can enter the name of a frame in order for the URL to open in that specified frame.
  •  

  • type – This attribute specifies the MIME type of the target URL.
    Values:


Bookmark and Share

Rate this post:
1 Star - So-so...2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars - GREAT! (2 votes, average: 9.00 out of 10)
Loading ... Loading ...



Related Posts


Comments Off   ∫  


Categories:   Design / Maintenace   •   Running a Website

Tags:     •  






RSS feed

Comments

No comments yet.

Sorry, the comment form is closed at this time.

 
Subscribe to
The Webmaster's Edge RSS

Subscribe by
E-Mail Subscription


Recent Posts Title
Recent Posts NoDisplay
Categories Title
Categories NoDisplay
Comments Title
Tag Cloud Title
Tag Cloud NoDisplay
Archives Title
Archives NoDisplay
Commentators
  • No commentators.
Shop Cloud Title
Shop Cloud