SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Class 12
Reviewing Links
2
Relative Links:
•Relative to the current document
•Folder/filename
•Go up a level by using . . /
Absolute Links
•Full web address
Reviewing Links
3
styles
images
alpaca-farm.jpg
bg.jpg
<img src=“ ”>
<link href=“ ”>
Background-image: url( );../images/bg.jpg
images/alpaca-farm.jpg
styles/style.css
Opening a Link
in a New Browser Window
• The target attribute on the anchor element opens a
link in a new browser window or new browser tab.
<a href="http://yahoo.com" target="_blank">Yahoo!</a>
4
Using Anchor Tags
• Example:
http://www.pptfaq.com/index.html#ListOfLinks
XHTML Linking to Fragment Identifiers
• A link to a part of a Web page
• Also called named fragments, fragment ids
• Two components:
1. The element that identifies the named fragment of a Web
page. This requires the id attribute.
<div id=“top”> … </div>
2. The anchor tag that links to the named fragment of a Web page.
This uses the href attribute.
<a href=“#top”>Back to Top</a>
6
Note the use of the # in the anchor tag!

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to the SharePoint 2013 REST API
Introduction to the SharePoint 2013 REST APIIntroduction to the SharePoint 2013 REST API
Introduction to the SharePoint 2013 REST APISparkhound Inc.
 
Yahoo! Open Stack & YQL
Yahoo! Open Stack & YQLYahoo! Open Stack & YQL
Yahoo! Open Stack & YQLSaurabh Sahni
 
SPCA2013 - Best Practices Document Management in SharePoint (Online) 2013
SPCA2013 - Best Practices Document Management in SharePoint (Online) 2013SPCA2013 - Best Practices Document Management in SharePoint (Online) 2013
SPCA2013 - Best Practices Document Management in SharePoint (Online) 2013Jasper Oosterveld
 
SharePoint 2013 REST API & Remote Authentication
SharePoint 2013 REST API & Remote AuthenticationSharePoint 2013 REST API & Remote Authentication
SharePoint 2013 REST API & Remote AuthenticationAdil Ansari
 
SharePoint 2013 Document Management Out of the Box
SharePoint 2013 Document Management Out of the BoxSharePoint 2013 Document Management Out of the Box
SharePoint 2013 Document Management Out of the BoxEd Musters
 
SharePoint Saturday/Friday Honolulu
SharePoint Saturday/Friday HonoluluSharePoint Saturday/Friday Honolulu
SharePoint Saturday/Friday HonoluluPaul J. Swider
 
Rotating Banner in SharePoint with a DataView Webpart
Rotating Banner in SharePoint with a DataView WebpartRotating Banner in SharePoint with a DataView Webpart
Rotating Banner in SharePoint with a DataView WebpartEcho Schmidt
 
Alfresco tech talk live share extensibility metadata and actions for 4.1
Alfresco tech talk live share extensibility metadata and actions for 4.1Alfresco tech talk live share extensibility metadata and actions for 4.1
Alfresco tech talk live share extensibility metadata and actions for 4.1Alfresco Software
 
Manual versus Automatic Submission
Manual versus Automatic SubmissionManual versus Automatic Submission
Manual versus Automatic SubmissionMarc Duchene
 
SPTechCon Extending ECM for Developers
SPTechCon Extending ECM for DevelopersSPTechCon Extending ECM for Developers
SPTechCon Extending ECM for DevelopersPaul J. Swider
 
Going offline with share point workspace
Going offline with share point workspaceGoing offline with share point workspace
Going offline with share point workspaceJoshua Haebets
 
SharePoint Document Sets
SharePoint Document SetsSharePoint Document Sets
SharePoint Document SetsRegroove
 
Web design - Working with Links and Images
Web design - Working with Links and ImagesWeb design - Working with Links and Images
Web design - Working with Links and ImagesMustafa Kamel Mohammadi
 
Programming web application
Programming web applicationProgramming web application
Programming web applicationaspnet123
 
Search overview
Search overviewSearch overview
Search overviewHiep Luong
 

Was ist angesagt? (19)

Tf fcchc
Tf fcchcTf fcchc
Tf fcchc
 
Introduction to the SharePoint 2013 REST API
Introduction to the SharePoint 2013 REST APIIntroduction to the SharePoint 2013 REST API
Introduction to the SharePoint 2013 REST API
 
Ffcchtml
FfcchtmlFfcchtml
Ffcchtml
 
Yahoo! Open Stack & YQL
Yahoo! Open Stack & YQLYahoo! Open Stack & YQL
Yahoo! Open Stack & YQL
 
SPCA2013 - Best Practices Document Management in SharePoint (Online) 2013
SPCA2013 - Best Practices Document Management in SharePoint (Online) 2013SPCA2013 - Best Practices Document Management in SharePoint (Online) 2013
SPCA2013 - Best Practices Document Management in SharePoint (Online) 2013
 
SharePoint 2013 REST API & Remote Authentication
SharePoint 2013 REST API & Remote AuthenticationSharePoint 2013 REST API & Remote Authentication
SharePoint 2013 REST API & Remote Authentication
 
SharePoint 2013 Document Management Out of the Box
SharePoint 2013 Document Management Out of the BoxSharePoint 2013 Document Management Out of the Box
SharePoint 2013 Document Management Out of the Box
 
SharePoint Saturday/Friday Honolulu
SharePoint Saturday/Friday HonoluluSharePoint Saturday/Friday Honolulu
SharePoint Saturday/Friday Honolulu
 
INLS461_day14a.ppt
INLS461_day14a.pptINLS461_day14a.ppt
INLS461_day14a.ppt
 
Rotating Banner in SharePoint with a DataView Webpart
Rotating Banner in SharePoint with a DataView WebpartRotating Banner in SharePoint with a DataView Webpart
Rotating Banner in SharePoint with a DataView Webpart
 
Alfresco tech talk live share extensibility metadata and actions for 4.1
Alfresco tech talk live share extensibility metadata and actions for 4.1Alfresco tech talk live share extensibility metadata and actions for 4.1
Alfresco tech talk live share extensibility metadata and actions for 4.1
 
Tf ffcchtmlcss
Tf ffcchtmlcssTf ffcchtmlcss
Tf ffcchtmlcss
 
Manual versus Automatic Submission
Manual versus Automatic SubmissionManual versus Automatic Submission
Manual versus Automatic Submission
 
SPTechCon Extending ECM for Developers
SPTechCon Extending ECM for DevelopersSPTechCon Extending ECM for Developers
SPTechCon Extending ECM for Developers
 
Going offline with share point workspace
Going offline with share point workspaceGoing offline with share point workspace
Going offline with share point workspace
 
SharePoint Document Sets
SharePoint Document SetsSharePoint Document Sets
SharePoint Document Sets
 
Web design - Working with Links and Images
Web design - Working with Links and ImagesWeb design - Working with Links and Images
Web design - Working with Links and Images
 
Programming web application
Programming web applicationProgramming web application
Programming web application
 
Search overview
Search overviewSearch overview
Search overview
 

Ähnlich wie Class 12

How to make a website
How to make a websiteHow to make a website
How to make a websitekierakeating
 
A11y Conference Talk: Building an Accessible WordPress Theme
A11y Conference Talk: Building an Accessible WordPress ThemeA11y Conference Talk: Building an Accessible WordPress Theme
A11y Conference Talk: Building an Accessible WordPress ThemeTomAuger
 
advance theme development
advance theme developmentadvance theme development
advance theme development1amitgupta
 
Castro Chapter 6
Castro Chapter 6Castro Chapter 6
Castro Chapter 6Jeff Byrnes
 
ARTDM 171, Week 3: Web Basics + Group Projects
ARTDM 171, Week 3: Web Basics + Group ProjectsARTDM 171, Week 3: Web Basics + Group Projects
ARTDM 171, Week 3: Web Basics + Group ProjectsGilbert Guerrero
 
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Thomas Daly
 
Web component driven development
Web component driven developmentWeb component driven development
Web component driven developmentGil Fink
 
Crossref Crossmark Webinar 102716
Crossref Crossmark Webinar 102716Crossref Crossmark Webinar 102716
Crossref Crossmark Webinar 102716Crossref
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & LlinksNisa Soomro
 
3) web development
3) web development3) web development
3) web developmenttechbed
 
How to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured ContentHow to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured ContentAcquia
 
Just Enough HTML for Fatwire
Just Enough HTML for FatwireJust Enough HTML for Fatwire
Just Enough HTML for FatwireKenneth Quandt
 
Understanding the Web Page Layout
Understanding the Web Page LayoutUnderstanding the Web Page Layout
Understanding the Web Page LayoutJhaun Paul Enriquez
 
7. Crossmark how to - Brazil
7. Crossmark how to - Brazil7. Crossmark how to - Brazil
7. Crossmark how to - BrazilCrossref
 
Seo audit fitpass.co.in via Nikola Minkov / Serpact
Seo audit fitpass.co.in via Nikola Minkov / SerpactSeo audit fitpass.co.in via Nikola Minkov / Serpact
Seo audit fitpass.co.in via Nikola Minkov / SerpactNikola Minkov
 
Introduction Django
Introduction DjangoIntroduction Django
Introduction DjangoWade Austin
 

Ähnlich wie Class 12 (20)

How to make a website
How to make a websiteHow to make a website
How to make a website
 
A11y Conference Talk: Building an Accessible WordPress Theme
A11y Conference Talk: Building an Accessible WordPress ThemeA11y Conference Talk: Building an Accessible WordPress Theme
A11y Conference Talk: Building an Accessible WordPress Theme
 
advance theme development
advance theme developmentadvance theme development
advance theme development
 
MVC Web Application
MVC Web ApplicationMVC Web Application
MVC Web Application
 
Castro Chapter 6
Castro Chapter 6Castro Chapter 6
Castro Chapter 6
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
Introduction to WEB HTML, CSS
Introduction to WEB HTML, CSSIntroduction to WEB HTML, CSS
Introduction to WEB HTML, CSS
 
ARTDM 171, Week 3: Web Basics + Group Projects
ARTDM 171, Week 3: Web Basics + Group ProjectsARTDM 171, Week 3: Web Basics + Group Projects
ARTDM 171, Week 3: Web Basics + Group Projects
 
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Developing Branding Solutions for 2013
Developing Branding Solutions for 2013
 
Web component driven development
Web component driven developmentWeb component driven development
Web component driven development
 
Crossref Crossmark Webinar 102716
Crossref Crossmark Webinar 102716Crossref Crossmark Webinar 102716
Crossref Crossmark Webinar 102716
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & Llinks
 
3) web development
3) web development3) web development
3) web development
 
How to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured ContentHow to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured Content
 
Just Enough HTML for Fatwire
Just Enough HTML for FatwireJust Enough HTML for Fatwire
Just Enough HTML for Fatwire
 
Understanding the Web Page Layout
Understanding the Web Page LayoutUnderstanding the Web Page Layout
Understanding the Web Page Layout
 
7. Crossmark how to - Brazil
7. Crossmark how to - Brazil7. Crossmark how to - Brazil
7. Crossmark how to - Brazil
 
Links in Html
Links in HtmlLinks in Html
Links in Html
 
Seo audit fitpass.co.in via Nikola Minkov / Serpact
Seo audit fitpass.co.in via Nikola Minkov / SerpactSeo audit fitpass.co.in via Nikola Minkov / Serpact
Seo audit fitpass.co.in via Nikola Minkov / Serpact
 
Introduction Django
Introduction DjangoIntroduction Django
Introduction Django
 

Mehr von Jiyeon Lee (20)

Cultural conflict resolution
Cultural conflict resolutionCultural conflict resolution
Cultural conflict resolution
 
Class22
Class22Class22
Class22
 
Class 21
Class 21Class 21
Class 21
 
Class 21
Class 21Class 21
Class 21
 
Class 20
Class 20Class 20
Class 20
 
Class19
Class19Class19
Class19
 
Class18
Class18Class18
Class18
 
Class 17
Class 17Class 17
Class 17
 
Class14
Class14Class14
Class14
 
Class15
Class15Class15
Class15
 
Class13
Class13Class13
Class13
 
Class11
Class11Class11
Class11
 
Class 10
Class 10Class 10
Class 10
 
Class8
Class8Class8
Class8
 
Class7
Class7Class7
Class7
 
Class6
Class6Class6
Class6
 
Class5
Class5Class5
Class5
 
Class4
Class4Class4
Class4
 
Class 3
Class 3Class 3
Class 3
 
Class2
Class2Class2
Class2
 

Class 12

  • 2. Reviewing Links 2 Relative Links: •Relative to the current document •Folder/filename •Go up a level by using . . / Absolute Links •Full web address
  • 3. Reviewing Links 3 styles images alpaca-farm.jpg bg.jpg <img src=“ ”> <link href=“ ”> Background-image: url( );../images/bg.jpg images/alpaca-farm.jpg styles/style.css
  • 4. Opening a Link in a New Browser Window • The target attribute on the anchor element opens a link in a new browser window or new browser tab. <a href="http://yahoo.com" target="_blank">Yahoo!</a> 4
  • 5. Using Anchor Tags • Example: http://www.pptfaq.com/index.html#ListOfLinks
  • 6. XHTML Linking to Fragment Identifiers • A link to a part of a Web page • Also called named fragments, fragment ids • Two components: 1. The element that identifies the named fragment of a Web page. This requires the id attribute. <div id=“top”> … </div> 2. The anchor tag that links to the named fragment of a Web page. This uses the href attribute. <a href=“#top”>Back to Top</a> 6 Note the use of the # in the anchor tag!