SlideShare una empresa de Scribd logo
1 de 7
HTMLLINKS
Anchor Tag and
Href Attribute
HTML uses the <a> (anchor) tag to create a link to
another document.
It can point to any resource on the Web: an HTML
page, an image, a sound file, a movie, etc.
The syntax of creating an anchor:
<a href="url">Text to be displayed</a>
Anchor Tag and
Href Attribute
• <a> tag - used to create an anchor to link from
• href attribute - used to address the document
to link to
• element content - will be displayed as a
hyperlink
e.g.
<a href="http://www.yahoo.com/">Visit Yahoo!</a>
Anchor Tag and
Name Attribute
>>> used to create a named anchor
>>> allows you to jump directly to a
specific section within the page
syntax:
<a href="url#label">content</a>
<a name="label">content</a>
Anchor Tag and
Target Attribute
>>> The target attribute is used to
specify where the linked document will
be opened
To open a linked document in a new
window, use the attribute
target="_blank"
Anchor Tag and
Target Attribute
e.g.
<a href="url" target="_blank">Content</a>
Mailto Link
>>> allows you to link to a mail message
e.g.
<a href="mailto:me@here.com">Mail Me!</a>

Más contenido relacionado

La actualidad más candente

1.3 creating links
1.3 creating links1.3 creating links
1.3 creating links
Bulldogs83
 
How Google WOrks?
How Google WOrks?How Google WOrks?
How Google WOrks?
07Deeps
 
Internet workshop
Internet workshopInternet workshop
Internet workshop
maria9102
 

La actualidad más candente (18)

HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchors
 
Html links
Html linksHtml links
Html links
 
On page Optimization
On page OptimizationOn page Optimization
On page Optimization
 
1.3 creating links
1.3 creating links1.3 creating links
1.3 creating links
 
Introduction to Search Engine Optimization
Introduction to Search Engine OptimizationIntroduction to Search Engine Optimization
Introduction to Search Engine Optimization
 
How to create rss feed
How to create rss feedHow to create rss feed
How to create rss feed
 
How to create rss feed for your website
How to create  rss feed  for  your  websiteHow to create  rss feed  for  your  website
How to create rss feed for your website
 
SharePoint 2013 Search
SharePoint 2013 SearchSharePoint 2013 Search
SharePoint 2013 Search
 
Pres
PresPres
Pres
 
Search driven architecture in SharePoint
Search driven architecture in SharePointSearch driven architecture in SharePoint
Search driven architecture in SharePoint
 
How Google WOrks?
How Google WOrks?How Google WOrks?
How Google WOrks?
 
Build killer visuals to interact with your content using Search and Display T...
Build killer visuals to interact with your content using Search and Display T...Build killer visuals to interact with your content using Search and Display T...
Build killer visuals to interact with your content using Search and Display T...
 
presentation-week10
presentation-week10presentation-week10
presentation-week10
 
Sending link
Sending linkSending link
Sending link
 
Wai yanleunglinktag
Wai yanleunglinktagWai yanleunglinktag
Wai yanleunglinktag
 
How to Use Canonical Tags for SEO | Aleks Shklyar
How to Use Canonical Tags for SEO | Aleks ShklyarHow to Use Canonical Tags for SEO | Aleks Shklyar
How to Use Canonical Tags for SEO | Aleks Shklyar
 
CSS Selector in Selenium WebDriver | Edureka
CSS Selector in Selenium WebDriver | EdurekaCSS Selector in Selenium WebDriver | Edureka
CSS Selector in Selenium WebDriver | Edureka
 
Internet workshop
Internet workshopInternet workshop
Internet workshop
 

Destacado

งานนำเสนอ1
งานนำเสนอ1งานนำเสนอ1
งานนำเสนอ1
surasak2222
 
О том, как бы частью хорошей команды. И как её собрать.
О том, как бы частью хорошей команды. И как её собрать.О том, как бы частью хорошей команды. И как её собрать.
О том, как бы частью хорошей команды. И как её собрать.
Igor Debatur
 

Destacado (17)

Bl kashyap
Bl kashyapBl kashyap
Bl kashyap
 
By Popular Demand: Co3's Latest and Greatest Features
By Popular Demand: Co3's Latest and Greatest Features By Popular Demand: Co3's Latest and Greatest Features
By Popular Demand: Co3's Latest and Greatest Features
 
Graphics By Jacqueline2 E
Graphics By Jacqueline2 EGraphics By Jacqueline2 E
Graphics By Jacqueline2 E
 
International House of Prayer- IHOPGear.org Presentation
International House of Prayer- IHOPGear.org PresentationInternational House of Prayer- IHOPGear.org Presentation
International House of Prayer- IHOPGear.org Presentation
 
Self-Publishing and Libraries
Self-Publishing and LibrariesSelf-Publishing and Libraries
Self-Publishing and Libraries
 
Tutorial sobre power point
Tutorial sobre power point Tutorial sobre power point
Tutorial sobre power point
 
งานนำเสนอ1
งานนำเสนอ1งานนำเสนอ1
งานนำเสนอ1
 
The Patriot Act and Cloud Security - Busting the European FUD
The Patriot Act and Cloud Security - Busting the European FUDThe Patriot Act and Cloud Security - Busting the European FUD
The Patriot Act and Cloud Security - Busting the European FUD
 
Slide show
Slide showSlide show
Slide show
 
О том, как бы частью хорошей команды. И как её собрать.
О том, как бы частью хорошей команды. И как её собрать.О том, как бы частью хорошей команды. И как её собрать.
О том, как бы частью хорошей команды. И как её собрать.
 
Leishweek 3
Leishweek 3Leishweek 3
Leishweek 3
 
Rca mk tdag
Rca mk tdagRca mk tdag
Rca mk tdag
 
What is Marketing?
What is Marketing?What is Marketing?
What is Marketing?
 
A k i l o y u n l a r i
A k i l   o y u n l a r iA k i l   o y u n l a r i
A k i l o y u n l a r i
 
Guida Introduttiva a Facebook
Guida Introduttiva a FacebookGuida Introduttiva a Facebook
Guida Introduttiva a Facebook
 
Graphics By Jacqueline2 A
Graphics By Jacqueline2 AGraphics By Jacqueline2 A
Graphics By Jacqueline2 A
 
INDIAN CULTURE
INDIAN CULTURE  INDIAN CULTURE
INDIAN CULTURE
 

Similar a Html links

Hypertext presentation
Hypertext presentationHypertext presentation
Hypertext presentation
Iftikhar Alam
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML Basics
Shawn Calvert
 
How to make a website
How to make a websiteHow to make a website
How to make a website
kierakeating
 
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
ZahouAmel1
 

Similar a Html links (20)

HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
 
N5 Computing Science HTML
N5 Computing Science HTMLN5 Computing Science HTML
N5 Computing Science HTML
 
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART II.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART II.pdfHSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART II.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART II.pdf
 
Introduction to XHTML
Introduction to XHTMLIntroduction to XHTML
Introduction to XHTML
 
Links - IntraPage
Links - IntraPageLinks - IntraPage
Links - IntraPage
 
Hypertext presentation
Hypertext presentationHypertext presentation
Hypertext presentation
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML Basics
 
Html for beginners part II
Html for beginners part IIHtml for beginners part II
Html for beginners part II
 
Higher Computing Science HTML
Higher Computing Science HTMLHigher Computing Science HTML
Higher Computing Science HTML
 
intro-to-html
intro-to-htmlintro-to-html
intro-to-html
 
gdsc-html-ppt.pptx
gdsc-html-ppt.pptxgdsc-html-ppt.pptx
gdsc-html-ppt.pptx
 
Html
HtmlHtml
Html
 
Presentation on Understanding Basic HTML Tags || pptx || Created by Shovan Pr...
Presentation on Understanding Basic HTML Tags || pptx || Created by Shovan Pr...Presentation on Understanding Basic HTML Tags || pptx || Created by Shovan Pr...
Presentation on Understanding Basic HTML Tags || pptx || Created by Shovan Pr...
 
2 INTRO TO HTML.pptx
2 INTRO TO HTML.pptx2 INTRO TO HTML.pptx
2 INTRO TO HTML.pptx
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page Designing
 
How to make a website
How to make a websiteHow to make a website
How to make a website
 
HTML and CSS part 1
HTML and CSS part 1HTML and CSS part 1
HTML and CSS part 1
 
HTML5 Basics
HTML5 BasicsHTML5 Basics
HTML5 Basics
 
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
 
HTML and CSS Basics
HTML and CSS BasicsHTML and CSS Basics
HTML and CSS Basics
 

Más de Denni Domingo

Book Review: For One More Day
Book Review: For One More DayBook Review: For One More Day
Book Review: For One More Day
Denni Domingo
 
Database management (activity 4)
Database management (activity 4)Database management (activity 4)
Database management (activity 4)
Denni Domingo
 

Más de Denni Domingo (20)

The overall concept of financial management
The overall concept of financial managementThe overall concept of financial management
The overall concept of financial management
 
Psychological attributes of personality
Psychological attributes of personalityPsychological attributes of personality
Psychological attributes of personality
 
Motivating Employees
Motivating EmployeesMotivating Employees
Motivating Employees
 
Foundation of personality
Foundation of personalityFoundation of personality
Foundation of personality
 
Bonds and their characteristcs
Bonds and their characteristcsBonds and their characteristcs
Bonds and their characteristcs
 
Aspects of individual's personality
Aspects of individual's personalityAspects of individual's personality
Aspects of individual's personality
 
Sa aking mga kabata
Sa aking mga kabataSa aking mga kabata
Sa aking mga kabata
 
What is the point of having a good life if everything will end to death? How ...
What is the point of having a good life if everything will end to death? How ...What is the point of having a good life if everything will end to death? How ...
What is the point of having a good life if everything will end to death? How ...
 
Hibik ng pilipinas sa inang espanya (trilogy)
Hibik ng pilipinas sa inang espanya (trilogy)Hibik ng pilipinas sa inang espanya (trilogy)
Hibik ng pilipinas sa inang espanya (trilogy)
 
Book Review: For One More Day
Book Review: For One More DayBook Review: For One More Day
Book Review: For One More Day
 
Financial management I
Financial management IFinancial management I
Financial management I
 
Factors affecting the rate of a chemical reaction
Factors affecting the rate of a chemical reactionFactors affecting the rate of a chemical reaction
Factors affecting the rate of a chemical reaction
 
Database management (activity 4)
Database management (activity 4)Database management (activity 4)
Database management (activity 4)
 
Angular speed Examples
Angular speed ExamplesAngular speed Examples
Angular speed Examples
 
Parental consent for student permit
Parental consent for student permitParental consent for student permit
Parental consent for student permit
 
Visita Iglesia
Visita IglesiaVisita Iglesia
Visita Iglesia
 
Resume template_03
Resume template_03Resume template_03
Resume template_03
 
Resume Template_02
Resume Template_02Resume Template_02
Resume Template_02
 
Resume Template_01
Resume Template_01Resume Template_01
Resume Template_01
 
Resume Template
Resume TemplateResume Template
Resume Template
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

Html links

  • 2. Anchor Tag and Href Attribute HTML uses the <a> (anchor) tag to create a link to another document. It can point to any resource on the Web: an HTML page, an image, a sound file, a movie, etc. The syntax of creating an anchor: <a href="url">Text to be displayed</a>
  • 3. Anchor Tag and Href Attribute • <a> tag - used to create an anchor to link from • href attribute - used to address the document to link to • element content - will be displayed as a hyperlink e.g. <a href="http://www.yahoo.com/">Visit Yahoo!</a>
  • 4. Anchor Tag and Name Attribute >>> used to create a named anchor >>> allows you to jump directly to a specific section within the page syntax: <a href="url#label">content</a> <a name="label">content</a>
  • 5. Anchor Tag and Target Attribute >>> The target attribute is used to specify where the linked document will be opened To open a linked document in a new window, use the attribute target="_blank"
  • 6. Anchor Tag and Target Attribute e.g. <a href="url" target="_blank">Content</a>
  • 7. Mailto Link >>> allows you to link to a mail message e.g. <a href="mailto:me@here.com">Mail Me!</a>