0
*    The Hyperlink Tag    Brianna Mitchell Web Design 2830
** The <a> tag is supported in all major browsers.* Supports global and event attributes in HTML5.
** The <a> tag defines a hyperlink, which is used to link from one page to another.* The most important attribute of the <...
** An unvisited link is underlined and blue* A visited link is underlined and purple* An active link is underlined and red
** Picture from: http://software- carpentry.org/3_0/xml/links.png
*
** In HTML 4.01, the <a> tag could be either a hyperlink or an anchor. In HTML5, the <a> tag is always a hyperlink, but if...
** Tip: The attributes: hreflang, media, rel, target, and type attributes cannot be present if the href attribute is not p...
*Attribute   Value           Descriptioncharset     char_encoding   Not supported in HTML5coords      coordinates     Not ...
*
Upcoming SlideShare
Loading in...5
×

Hyperlinktag

178

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
178
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Hyperlinktag"

  1. 1. * The Hyperlink Tag Brianna Mitchell Web Design 2830
  2. 2. ** The <a> tag is supported in all major browsers.* Supports global and event attributes in HTML5.
  3. 3. ** The <a> tag defines a hyperlink, which is used to link from one page to another.* The most important attribute of the <a> element is the href attribute, which indicates the link’s destination.
  4. 4. ** An unvisited link is underlined and blue* A visited link is underlined and purple* An active link is underlined and red
  5. 5. ** Picture from: http://software- carpentry.org/3_0/xml/links.png
  6. 6. *
  7. 7. ** In HTML 4.01, the <a> tag could be either a hyperlink or an anchor. In HTML5, the <a> tag is always a hyperlink, but if it has no href attribute, it is only a placeholder for a hyperlink.* HTML5 has some new attributes, and some HTML 4.01 attributes are not supported in HTML5.
  8. 8. ** Tip: The attributes: hreflang, media, rel, target, and type attributes cannot be present if the href attribute is not present.* Tip: A linked page is normally displayed in the current browser window, unless you specify another target.* Tip: Use CSS to style links.
  9. 9. *Attribute Value Descriptioncharset char_encoding Not supported in HTML5coords coordinates Not supported in HTML5href URL Specifies the URL of the page the link goes tohreflang language_code Specifies the language of the linked documentmediaNew media_query Specifies what media/device the linked document is optimized forname section_name Not supported in HTML5rel alternate Specifies the relationship between the current document author and the linked document bookmark help license next nofollow noreferrer prefetch prev search tagrev text Not supported in HTML5shape default Not supported in HTML5 rect circle polytarget _blank Specifies where to open the linked document _parent _self _top framenametypeNew MIME_type Specifies the MIME type of the linked document
  10. 10. *
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×