SlideShare a Scribd company logo
1 of 31
WEB ENGINEERING LAB-3
 Working with links
 External  linking to another website
 Internal  linking to another webpage of the
same website.
 Fragment linking  linking different sections
of the same web page.
Attribute Description
href Specifies the destination of a link.
title Allows an advisory title that explains the
resource in more detail.
name Allows links to be able to point to a specific
section within a document (instead of links
always taking to the top of a document).
<a href=“url” title=“text”> description </a>
The anchor element <a> is used to create links.
<a href=“http://www.yahoo.com”>Yahoo! </a>
 Anchor element’s href attribute is used to specify
the Hyperlink Reference (that is, a reference to
link’s address).
 When linking to an external document, it is
essential to provide http:// otherwise the link will
not work.
Did you notice that there is a space after heading but
not after the links?
9prepared by: Meer Sadaf Naeem
 There are two types of pathnames:
relative & absolute.
course
htmlMs-office
class1
index.html
list.html intro.html
chem.html math.html eng.html
Absolute path specifies a file’s precise location
within a computer’s entire folder structure.
C:/course/html/intro.html
course
htmlMsoffice
class1
index.html
list.html intro.html
chem.html math.html eng.html
Absolute path specifies a file’s precise location
within a computer’s entire folder structure.
C:/course/html/class1/eng.html
course
htmlMs-office
class1
index.html
list.html intro.html
chem.html math.html eng.html
Relative path specifies a file’s location in relation to
the location of the current document.
If the file is in same folder as the current document,
you do not specify the folder name.
contact.htmlcourse
htmlMs-office
class1
index.html
list.html intro.html contact.html
chem.html math.html eng.html
class1/math.htmlcourse
htmlMs-office
class1
index.html
list.html intro.html contact.html
chem.html math.html eng.html
If the file is in a subfolder of the current document,
include the name of the subfolder followed by the
file name.
To go one level up the folder tree, start the relative path
with a double period (..) & then provide the name of the
file
../index.htmlcourse
htmlMs-office
class1
index.html
list.html intro.html contact.html
chem.html math.html eng.html
To specify the same folder on same level (sibling folder),
move up the folder tree using double period (..) & then
down the tree using the name of the sibling folder.
../Ms-office/list.htmlcourse
htmlMs-office
class1
index.html
list.html intro.html contact.html
chem.html math.html eng.html
links
Create a folder named as “links”
links
List.html ul.html
Create two html documents named as “list.html” and “ul.html” in the
folder “links”
links
List.html ul.html
course
Create a subfolder in “links” named as “course”
links
List.html ul.html
course
ol.html
Create an html document name “ol.html” in subfolder “course”
Give the relative path to the appropriate pages
links
List.html ul.html
course
ol.html
Provide a link in “ul.html” and “ol.html” to go back to “list.html”
<a href=“file.html”> Go to next page</a>
 In href , specify the relative path of the document to
which you want to link.
<a name=“top”> Welcome to NED</a>
top
<a href=“#top”> go to top of
the page</a>
Page is scrolled to the
location named top
Go to top
<a name=“top”>Welcome to NEDUET</a>
 the name attribute allows links to be able to point to a
specific section within a document (instead of links
always leading to the top of a document).
 Once you have named a location in the document, you
can go to that location taking a normal link tag & adding
a number sign (#) & the name assigned to the URL.
<a href=“#top”> go to top of the page</a>
<a href=“http://www.yahoo.com” title=“Yahoo
website”>Yahoo! </a>
 title attribute allows an advisory title that explains
the resource in more detail.
 Browsers may choose different methods of
showing the advisory title attribute, such as
displaying the title in a tool tip or balloon help.
 By default, each new page you open replaces the
content of the previous page in the browser
window.
 To return the previous page, one has to click their
browser’s Back button.
 target attribute indicates the name of window
where you would like the linked page to appear.
<a href=“url” target=“window”> content</a>
 Here window is a name assigned to the new browser
window.
Target Name Description
“target” Opens the link in a new window named target.
“_blank” Open the link in a new, unnamed, window.
“_self” Opens the link in the current browser window.
Anchors can also link to email addresses.
When someone clicks on this type of
anchored link, their default email program
initiates an email message to the linked
address.
<a href=“mailto: emailaddress”> …….</a>

More Related Content

What's hot

How to make a website
How to make a websiteHow to make a website
How to make a websitekierakeating
 
Dbms project file shaunak
Dbms project file shaunakDbms project file shaunak
Dbms project file shaunakkuldeep004
 
ResearchTies: Getting started
ResearchTies: Getting startedResearchTies: Getting started
ResearchTies: Getting startedjncrandell
 
Links - IntraSystem and Absolute
Links - IntraSystem and AbsoluteLinks - IntraSystem and Absolute
Links - IntraSystem and Absolutenikkeisaurus
 
Adding a research log to FamilySearch Family Tree
Adding a research log to FamilySearch Family TreeAdding a research log to FamilySearch Family Tree
Adding a research log to FamilySearch Family Treejncrandell
 
SharePoint 2010 List and Library General Settings
SharePoint 2010 List and Library General SettingsSharePoint 2010 List and Library General Settings
SharePoint 2010 List and Library General SettingsThomas Duff
 
5 ref works 2.0 refgrab it
5 ref works 2.0 refgrab it5 ref works 2.0 refgrab it
5 ref works 2.0 refgrab itUCT
 
RefWorks RefGrab-It
RefWorks RefGrab-ItRefWorks RefGrab-It
RefWorks RefGrab-ItUCT
 
Annotations are coming to the web
Annotations are coming to the webAnnotations are coming to the web
Annotations are coming to the webbfreeman1987
 
Dbms project file
Dbms project fileDbms project file
Dbms project filekuldeep004
 
Using the ResearchTies "Share Source" Feature
Using the ResearchTies "Share Source" FeatureUsing the ResearchTies "Share Source" Feature
Using the ResearchTies "Share Source" Featurejncrandell
 
Using the ResearchTies "Lookup" Feature
Using the ResearchTies "Lookup" FeatureUsing the ResearchTies "Lookup" Feature
Using the ResearchTies "Lookup" Featurejncrandell
 
Intro To Online Databases Fall09
Intro To Online Databases Fall09Intro To Online Databases Fall09
Intro To Online Databases Fall09Jordana Shane
 
WRIT 101 Basic Research Tutorial
WRIT 101 Basic Research TutorialWRIT 101 Basic Research Tutorial
WRIT 101 Basic Research TutorialMandy Wright
 

What's hot (18)

How to make a website
How to make a websiteHow to make a website
How to make a website
 
Dbms project file shaunak
Dbms project file shaunakDbms project file shaunak
Dbms project file shaunak
 
Internet Search
Internet SearchInternet Search
Internet Search
 
Advanced html
Advanced htmlAdvanced html
Advanced html
 
ResearchTies: Getting started
ResearchTies: Getting startedResearchTies: Getting started
ResearchTies: Getting started
 
Links - IntraSystem and Absolute
Links - IntraSystem and AbsoluteLinks - IntraSystem and Absolute
Links - IntraSystem and Absolute
 
Using GALILEO
Using GALILEOUsing GALILEO
Using GALILEO
 
Adding a research log to FamilySearch Family Tree
Adding a research log to FamilySearch Family TreeAdding a research log to FamilySearch Family Tree
Adding a research log to FamilySearch Family Tree
 
SharePoint 2010 List and Library General Settings
SharePoint 2010 List and Library General SettingsSharePoint 2010 List and Library General Settings
SharePoint 2010 List and Library General Settings
 
5 ref works 2.0 refgrab it
5 ref works 2.0 refgrab it5 ref works 2.0 refgrab it
5 ref works 2.0 refgrab it
 
RefWorks RefGrab-It
RefWorks RefGrab-ItRefWorks RefGrab-It
RefWorks RefGrab-It
 
Annotations are coming to the web
Annotations are coming to the webAnnotations are coming to the web
Annotations are coming to the web
 
Dbms project file
Dbms project fileDbms project file
Dbms project file
 
HTML guide for beginners
HTML guide for beginnersHTML guide for beginners
HTML guide for beginners
 
Using the ResearchTies "Share Source" Feature
Using the ResearchTies "Share Source" FeatureUsing the ResearchTies "Share Source" Feature
Using the ResearchTies "Share Source" Feature
 
Using the ResearchTies "Lookup" Feature
Using the ResearchTies "Lookup" FeatureUsing the ResearchTies "Lookup" Feature
Using the ResearchTies "Lookup" Feature
 
Intro To Online Databases Fall09
Intro To Online Databases Fall09Intro To Online Databases Fall09
Intro To Online Databases Fall09
 
WRIT 101 Basic Research Tutorial
WRIT 101 Basic Research TutorialWRIT 101 Basic Research Tutorial
WRIT 101 Basic Research Tutorial
 

Similar to Introduction to linking

Similar to Introduction to linking (20)

Links in Html
Links in HtmlLinks in Html
Links in Html
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & Llinks
 
Internet with HTML
Internet with HTMLInternet with HTML
Internet with HTML
 
HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchors
 
HTML Foundations, pt 2
HTML Foundations, pt 2HTML Foundations, pt 2
HTML Foundations, pt 2
 
Html links
Html linksHtml links
Html links
 
LINKING IN HTML
LINKING IN HTMLLINKING IN HTML
LINKING IN HTML
 
intro-to-html
intro-to-htmlintro-to-html
intro-to-html
 
Links - IntraPage
Links - IntraPageLinks - IntraPage
Links - IntraPage
 
Week 2-intro-html
Week 2-intro-htmlWeek 2-intro-html
Week 2-intro-html
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML Basics
 
Html links
Html linksHtml links
Html links
 
htmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
htmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaahtmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
htmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
HTML Series Vol 2 by S C Sharma
HTML Series Vol 2 by S C SharmaHTML Series Vol 2 by S C Sharma
HTML Series Vol 2 by S C Sharma
 
ExcelHyperlinks
ExcelHyperlinksExcelHyperlinks
ExcelHyperlinks
 
Just Enough HTML for Fatwire
Just Enough HTML for FatwireJust Enough HTML for Fatwire
Just Enough HTML for Fatwire
 
Sending link
Sending linkSending link
Sending link
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 

Recently uploaded

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
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Ữ Â...Nguyen Thanh Tu Collection
 
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.pptxDenish Jangid
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
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 17Celine George
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
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.pptxheathfieldcps1
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
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.christianmathematics
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 

Recently uploaded (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.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Ữ Â...
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
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
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
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
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.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.
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

Introduction to linking

  • 3.  External  linking to another website  Internal  linking to another webpage of the same website.  Fragment linking  linking different sections of the same web page.
  • 4. Attribute Description href Specifies the destination of a link. title Allows an advisory title that explains the resource in more detail. name Allows links to be able to point to a specific section within a document (instead of links always taking to the top of a document). <a href=“url” title=“text”> description </a> The anchor element <a> is used to create links.
  • 5. <a href=“http://www.yahoo.com”>Yahoo! </a>  Anchor element’s href attribute is used to specify the Hyperlink Reference (that is, a reference to link’s address).  When linking to an external document, it is essential to provide http:// otherwise the link will not work.
  • 6.
  • 7.
  • 8. Did you notice that there is a space after heading but not after the links?
  • 9. 9prepared by: Meer Sadaf Naeem  There are two types of pathnames: relative & absolute.
  • 10. course htmlMs-office class1 index.html list.html intro.html chem.html math.html eng.html Absolute path specifies a file’s precise location within a computer’s entire folder structure. C:/course/html/intro.html
  • 11. course htmlMsoffice class1 index.html list.html intro.html chem.html math.html eng.html Absolute path specifies a file’s precise location within a computer’s entire folder structure. C:/course/html/class1/eng.html
  • 12. course htmlMs-office class1 index.html list.html intro.html chem.html math.html eng.html Relative path specifies a file’s location in relation to the location of the current document.
  • 13. If the file is in same folder as the current document, you do not specify the folder name. contact.htmlcourse htmlMs-office class1 index.html list.html intro.html contact.html chem.html math.html eng.html
  • 14. class1/math.htmlcourse htmlMs-office class1 index.html list.html intro.html contact.html chem.html math.html eng.html If the file is in a subfolder of the current document, include the name of the subfolder followed by the file name.
  • 15. To go one level up the folder tree, start the relative path with a double period (..) & then provide the name of the file ../index.htmlcourse htmlMs-office class1 index.html list.html intro.html contact.html chem.html math.html eng.html
  • 16. To specify the same folder on same level (sibling folder), move up the folder tree using double period (..) & then down the tree using the name of the sibling folder. ../Ms-office/list.htmlcourse htmlMs-office class1 index.html list.html intro.html contact.html chem.html math.html eng.html
  • 17. links Create a folder named as “links”
  • 18. links List.html ul.html Create two html documents named as “list.html” and “ul.html” in the folder “links”
  • 19. links List.html ul.html course Create a subfolder in “links” named as “course”
  • 20. links List.html ul.html course ol.html Create an html document name “ol.html” in subfolder “course”
  • 21.
  • 22.
  • 23. Give the relative path to the appropriate pages
  • 24. links List.html ul.html course ol.html Provide a link in “ul.html” and “ol.html” to go back to “list.html”
  • 25. <a href=“file.html”> Go to next page</a>  In href , specify the relative path of the document to which you want to link.
  • 26. <a name=“top”> Welcome to NED</a> top <a href=“#top”> go to top of the page</a> Page is scrolled to the location named top Go to top
  • 27. <a name=“top”>Welcome to NEDUET</a>  the name attribute allows links to be able to point to a specific section within a document (instead of links always leading to the top of a document).  Once you have named a location in the document, you can go to that location taking a normal link tag & adding a number sign (#) & the name assigned to the URL. <a href=“#top”> go to top of the page</a>
  • 28. <a href=“http://www.yahoo.com” title=“Yahoo website”>Yahoo! </a>  title attribute allows an advisory title that explains the resource in more detail.  Browsers may choose different methods of showing the advisory title attribute, such as displaying the title in a tool tip or balloon help.
  • 29.  By default, each new page you open replaces the content of the previous page in the browser window.  To return the previous page, one has to click their browser’s Back button.  target attribute indicates the name of window where you would like the linked page to appear.
  • 30. <a href=“url” target=“window”> content</a>  Here window is a name assigned to the new browser window. Target Name Description “target” Opens the link in a new window named target. “_blank” Open the link in a new, unnamed, window. “_self” Opens the link in the current browser window.
  • 31. Anchors can also link to email addresses. When someone clicks on this type of anchored link, their default email program initiates an email message to the linked address. <a href=“mailto: emailaddress”> …….</a>

Editor's Notes

  1. Always try to use relative paths for your links. By doing so, even if you move your document or files to another computer, the link will still work.
  2. Always try to use relative paths for your links. By doing so, even if you move your document or files to another computer, the link will still work.
  3. Always try to use relative paths for your links. By doing so, even if you move your document or files to another computer, the link will still work.
  4. Always try to use relative paths for your links. By doing so, even if you move your document or files to another computer, the link will still work.
  5. Always try to use relative paths for your links. By doing so, even if you move your document or files to another computer, the link will still work.
  6. Always try to use relative paths for your links. By doing so, even if you move your document or files to another computer, the link will still work.
  7. Always try to use relative paths for your links. By doing so, even if you move your document or files to another computer, the link will still work.
  8. Always try to use relative paths for your links. By doing so, even if you move your document or files to another computer, the link will still work.