SlideShare a Scribd company logo
1 of 18
Hypertext and
  Hypermedia
        PRAKASH KHAIRE
B V PATEL INSTITUTE OF BMC & IT
384




                  Hypertext
•   Text augmented with links

    •   Link: pointer to another piece of text in
        same or different document

    •   Navigational metaphor

        •   User follows a link from its source to its
            destination, usually by clicking on source
            with the mouse

    •   Use browser to view and navigate hypertext
Non-linearity
•   Hypertext not usually read linearly (from start
    to finish)

•   Links encourage branching off

    •   History and back button permit backtracking

•   Not an innovation, but the immediacy of
    following links by clicking creates a different
    experience from traditional non-linearity (e.g.
    cross-references in encyclopedia)
Links
•   Simple unidirectional links

    •   Connect single point on one page with a point on
        another page (e.g. WWW)

•   Extended links

    •   Regional links (ends may be regions within a
        page)

    •   Bidirectional links (may be followed in both
        directions)

    •   Multilinks (may have more than two ends)
Browsing & Searching
•   Browsing – retrieve information by association

    •   Follow links, backtrack

    •   Maintain history, bookmarks

•   Searching – retrieve information by content

    •   Construct indexes of URLs

    •   Search by keyword/description of page
392–393




                Web Indexes
•   Manual (Yahoo!, Open Directory Project,…)

    •   Classify sites on basis of human evaluation of
        their content

    •   Navigate hierarchy, or search entries by
        keyword

•   Automatic (Google, AltaVista,…)

    •   Spider/robot 'crawls' Web, collecting URLs and
        keywords extracted from pages

    •   Highly efficient search engine processes queries
Automatic Indexing
•   Must extract keywords automatically from pages

    •   Apply heuristics to identify meaningful words
        within text

    •   Use metadata added by page's author

        •   <meta name="keywords" content="…">

        •   <meta name="description" content="…">

•   Google applies weighting based on number of
    links pointing to a page
URLs
•   Uniform Resource Locators

    •   Resource is something that can be accessed
        by a higher level Internet protocol

    •   Often a file, but may be dynamically
        generated data

    •   The way in which data can be accessed is
        constrained by the protocol used

        •   e.g. mailbox
395–396




                 URL Syntax
•   Protocol :// domain name / path

    •   N.B. This is a slight simplification, covering
        the most common usage

•   e.g. http://www.digitalmultimedia.org/Materials/keypoints.html

•   Domain name identifies a host within a
    hierarchical naming scheme

•   Path is like Unix pathname: segments separated
    by /s, identify resource in a hierarchy (e.g. file
    system)
URL Paths
•   Complete specification of the location of a file
    containing HTML
    •   e.g. /Materials/index.html

•   Implicit specification of a standard file within a
    directory
    •   e.g. /Materials/

•   Specification of a program that generates HTML
    dynamically
    •   In special place (cgi-bin) or identified by
        extension (e.g. .php)
398




              Partial URLs
•   URL with some of the leading components
    missing

•   Missing components filled in from the base URL
    of the document in which the partial URL
    occurs

•   Usually, base URL is the URL used to retrieve
    the document, but it can be set explicitly with
    <base> tag
Fragment Identifiers
•   Links can point to a location within a page

    •   URL identifies the entire page

•   Append a fragment identifier to a URL

    •   #name

    •   e.g.
        http://www.digitalmultimedia.org/index.html#top

•   Use a named anchor to identify the
    corresponding location in the page
HTML Link Sources
•   In HTML, a element is used as the source of links

    •   href attribute has destination URL as its value

    •   Element content is displayed to indicate that it is a
        link (blue underlined &c)

    •  e.g.
•     Visit <a
    href="http://www.digitalmultimedia.org/">the book's
    support site</a>
    In browser, clicking on underlined text follows the link
    Visit the book's support site
HTML Link Destinations
•   You can also use a element as the destination

    •   name attribute's value may be used as a
        fragment identifier

    •   <a name="top">…

•   Alternatively (HTML4 and XHTML) use the id
    attribute of any element
400




          Formatting Links
•   Use CSS pseudo-classes

    •   link: formatting for links

    •   visited: formatting for visited links

    •   hover: formatting when cursor is over a link
        (rollover)

    •   active: formatting when a link is clicked on

•   Use in CSS stylesheets with selectors a:link etc
HTML & Hypermedia
•   href of an a element might not point to an
    HTML file
•   Server response will include MIME type when
    resource is retrieved (deduced from extension)
•   Browser will either
    •   Deal with data itself
    •   Call on a helper application to display the
        retrieved resource externally
    •   Use a plug-in to display it in browser window
Hypermedia Markup
•   If non-textual data is rendered within the browser,
    can integrate images, video, etc within Web page

•   img element is established way of embedding
    bitmapped images (GIF, JPEG, PNG)

•   object element can be used for any type of
    embedded data

•   embed element not standard, but widely
    supported for embedding video, audio and applets
Links and Images
•   An image may appear in the content of an a
    element, to serve as a clickable link

    •   e.g. thumbnail image linked to bigger
        version

•   An image map can contain several hot spots,
    each linked to a URL

•   usemap attribute of img designates map
    element, which contains area elements
    specifying shape and position of hot spots and
    their associated URLs

More Related Content

What's hot

What's hot (20)

Html grade 11
Html grade 11Html grade 11
Html grade 11
 
HTML: Chapter 01
HTML: Chapter 01HTML: Chapter 01
HTML: Chapter 01
 
HTML Semantic Tags
HTML Semantic TagsHTML Semantic Tags
HTML Semantic Tags
 
Web development
Web developmentWeb development
Web development
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
 
Markup Languages
Markup Languages Markup Languages
Markup Languages
 
Html Slide Part-1
Html Slide Part-1Html Slide Part-1
Html Slide Part-1
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 
Web Development and Web Development technologies - Temitayo Fadojutimi
Web Development and Web Development technologies - Temitayo FadojutimiWeb Development and Web Development technologies - Temitayo Fadojutimi
Web Development and Web Development technologies - Temitayo Fadojutimi
 
Html
HtmlHtml
Html
 
Web scraping
Web scrapingWeb scraping
Web scraping
 
Web Search and Mining
Web Search and MiningWeb Search and Mining
Web Search and Mining
 
Html coding
Html codingHtml coding
Html coding
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Microsoft word - teaching slides
Microsoft word  - teaching slidesMicrosoft word  - teaching slides
Microsoft word - teaching slides
 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
 
URL Presentation
URL PresentationURL Presentation
URL Presentation
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
 

Viewers also liked

Hypertext, hypermedia and multimedia.
Hypertext, hypermedia and multimedia.Hypertext, hypermedia and multimedia.
Hypertext, hypermedia and multimedia.
SCHOOL HOLLY SPIRIT
 
The Differences Between Print And Multimedia
The Differences Between Print And MultimediaThe Differences Between Print And Multimedia
The Differences Between Print And Multimedia
Tom.B
 
I assignmnt(oops)
I assignmnt(oops)I assignmnt(oops)
I assignmnt(oops)
Jay Patel
 
Tutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web PagesTutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web Pages
dpd
 
Hypertext
HypertextHypertext
Hypertext
natlo
 
Hypertext presentation
Hypertext presentationHypertext presentation
Hypertext presentation
Iftikhar Alam
 
Web publishing
Web publishingWeb publishing
Web publishing
Kanav Sood
 
Hypermedia
HypermediaHypermedia
Hypermedia
H S
 
Comparative study between print media & electronic media
Comparative study between print media & electronic mediaComparative study between print media & electronic media
Comparative study between print media & electronic media
Tabish Ahmed
 
Print media ppt
Print media pptPrint media ppt
Print media ppt
chilap
 

Viewers also liked (19)

Hypertext
HypertextHypertext
Hypertext
 
Hypertext, hypermedia and multimedia.
Hypertext, hypermedia and multimedia.Hypertext, hypermedia and multimedia.
Hypertext, hypermedia and multimedia.
 
The Differences Between Print And Multimedia
The Differences Between Print And MultimediaThe Differences Between Print And Multimedia
The Differences Between Print And Multimedia
 
I assignmnt(oops)
I assignmnt(oops)I assignmnt(oops)
I assignmnt(oops)
 
Wikisym Deep Hypertext slides
Wikisym Deep Hypertext slidesWikisym Deep Hypertext slides
Wikisym Deep Hypertext slides
 
Tutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web PagesTutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web Pages
 
Hyper Media
Hyper MediaHyper Media
Hyper Media
 
Hypertext,hypermedia and multimedia
Hypertext,hypermedia and multimediaHypertext,hypermedia and multimedia
Hypertext,hypermedia and multimedia
 
Hypertext, hypermedia and multimedia
Hypertext, hypermedia and multimediaHypertext, hypermedia and multimedia
Hypertext, hypermedia and multimedia
 
Hypertext
HypertextHypertext
Hypertext
 
Print Vs Digital
Print Vs DigitalPrint Vs Digital
Print Vs Digital
 
Hypertext presentation
Hypertext presentationHypertext presentation
Hypertext presentation
 
Web publishing
Web publishingWeb publishing
Web publishing
 
Hypertext
HypertextHypertext
Hypertext
 
Hypermedia
HypermediaHypermedia
Hypermedia
 
Benefits of Hypermedia API
Benefits of Hypermedia APIBenefits of Hypermedia API
Benefits of Hypermedia API
 
introduction to electronic publishing
 introduction to electronic publishing introduction to electronic publishing
introduction to electronic publishing
 
Comparative study between print media & electronic media
Comparative study between print media & electronic mediaComparative study between print media & electronic media
Comparative study between print media & electronic media
 
Print media ppt
Print media pptPrint media ppt
Print media ppt
 

Similar to Hypertext and hypermedia

Hypertext presentation
Hypertext presentationHypertext presentation
Hypertext presentation
Iftikhar Alam
 
Hyperlink.85 to 86
Hyperlink.85 to 86Hyperlink.85 to 86
Hyperlink.85 to 86
myrajendra
 
Open Source CMS Playroom
Open Source CMS PlayroomOpen Source CMS Playroom
Open Source CMS Playroom
librarywebchic
 
Library Mashups & APIs
Library Mashups & APIsLibrary Mashups & APIs
Library Mashups & APIs
librarywebchic
 
Xhtml and html5 basics
Xhtml and html5 basicsXhtml and html5 basics
Xhtml and html5 basics
messinam
 
Google Paper
Google Paper Google Paper
Google Paper
girish1m
 
Code PaLOUsa - Architecting a Content Management Solution with SharePoint 2013
Code PaLOUsa - Architecting a Content Management Solution with SharePoint 2013Code PaLOUsa - Architecting a Content Management Solution with SharePoint 2013
Code PaLOUsa - Architecting a Content Management Solution with SharePoint 2013
Patrick Tucker
 

Similar to Hypertext and hypermedia (20)

Hypertext presentation
Hypertext presentationHypertext presentation
Hypertext presentation
 
Hyperlink.85 to 86
Hyperlink.85 to 86Hyperlink.85 to 86
Hyperlink.85 to 86
 
Basics of the Web Platform
Basics of the Web PlatformBasics of the Web Platform
Basics of the Web Platform
 
Information Architecture for SharePoint
Information Architecture for SharePointInformation Architecture for SharePoint
Information Architecture for SharePoint
 
Unit 3 - URLs and URIs
Unit 3 - URLs and URIsUnit 3 - URLs and URIs
Unit 3 - URLs and URIs
 
Evolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser SecurityEvolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser Security
 
Open Source CMS Playroom
Open Source CMS PlayroomOpen Source CMS Playroom
Open Source CMS Playroom
 
On Again; Off Again - Benjamin Young - ebookcraft 2017
On Again; Off Again - Benjamin Young - ebookcraft 2017On Again; Off Again - Benjamin Young - ebookcraft 2017
On Again; Off Again - Benjamin Young - ebookcraft 2017
 
Web forms and html (lect 1)
Web forms and html (lect 1)Web forms and html (lect 1)
Web forms and html (lect 1)
 
Library Mashups & APIs
Library Mashups & APIsLibrary Mashups & APIs
Library Mashups & APIs
 
Xhtml and html5 basics
Xhtml and html5 basicsXhtml and html5 basics
Xhtml and html5 basics
 
Google Paper
Google Paper Google Paper
Google Paper
 
Websrc~1
Websrc~1Websrc~1
Websrc~1
 
Browser
BrowserBrowser
Browser
 
TPIP-1.pptx front end development of css
TPIP-1.pptx front end development of cssTPIP-1.pptx front end development of css
TPIP-1.pptx front end development of css
 
Documenting metadata application profiles and vocabularies
Documenting metadata application profiles and vocabulariesDocumenting metadata application profiles and vocabularies
Documenting metadata application profiles and vocabularies
 
Analyzing Web Archives
Analyzing Web ArchivesAnalyzing Web Archives
Analyzing Web Archives
 
Website/Web Applications / Static vs Dynamic Website / Web Browser /
Website/Web Applications  / Static vs Dynamic Website / Web Browser / Website/Web Applications  / Static vs Dynamic Website / Web Browser /
Website/Web Applications / Static vs Dynamic Website / Web Browser /
 
Code PaLOUsa - Architecting a Content Management Solution with SharePoint 2013
Code PaLOUsa - Architecting a Content Management Solution with SharePoint 2013Code PaLOUsa - Architecting a Content Management Solution with SharePoint 2013
Code PaLOUsa - Architecting a Content Management Solution with SharePoint 2013
 
Content Registration at Crossref - LIVE Kuala Lumpur
Content Registration at Crossref - LIVE Kuala LumpurContent Registration at Crossref - LIVE Kuala Lumpur
Content Registration at Crossref - LIVE Kuala Lumpur
 

More from Jay Patel

Unit 3(rdbms)
Unit 3(rdbms)Unit 3(rdbms)
Unit 3(rdbms)
Jay Patel
 
Unit 3(rdbms)
Unit 3(rdbms)Unit 3(rdbms)
Unit 3(rdbms)
Jay Patel
 
Assignment 2(web)
Assignment 2(web)Assignment 2(web)
Assignment 2(web)
Jay Patel
 
Assignment 2(web)
Assignment 2(web)Assignment 2(web)
Assignment 2(web)
Jay Patel
 
Assignment 1(web)
Assignment 1(web)Assignment 1(web)
Assignment 1(web)
Jay Patel
 
Inline function(oops)
Inline function(oops)Inline function(oops)
Inline function(oops)
Jay Patel
 
1 unit (oops)
1 unit (oops)1 unit (oops)
1 unit (oops)
Jay Patel
 
Anchored data type
Anchored data typeAnchored data type
Anchored data type
Jay Patel
 
Selection sort
Selection sortSelection sort
Selection sort
Jay Patel
 
Mutlimedia authoring tools
Mutlimedia authoring toolsMutlimedia authoring tools
Mutlimedia authoring tools
Jay Patel
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software tools
Jay Patel
 
Lecture6 text
Lecture6   textLecture6   text
Lecture6 text
Jay Patel
 
Lecture6 text
Lecture6   textLecture6   text
Lecture6 text
Jay Patel
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software tools
Jay Patel
 

More from Jay Patel (20)

Unit 3(rdbms)
Unit 3(rdbms)Unit 3(rdbms)
Unit 3(rdbms)
 
Unit 3(rdbms)
Unit 3(rdbms)Unit 3(rdbms)
Unit 3(rdbms)
 
Assignment 2(web)
Assignment 2(web)Assignment 2(web)
Assignment 2(web)
 
Quiz(web)
Quiz(web)Quiz(web)
Quiz(web)
 
Assignment 2(web)
Assignment 2(web)Assignment 2(web)
Assignment 2(web)
 
Assignment 1(web)
Assignment 1(web)Assignment 1(web)
Assignment 1(web)
 
Inline function(oops)
Inline function(oops)Inline function(oops)
Inline function(oops)
 
1 unit (oops)
1 unit (oops)1 unit (oops)
1 unit (oops)
 
Unit1
Unit1Unit1
Unit1
 
Cursor
CursorCursor
Cursor
 
Anchored data type
Anchored data typeAnchored data type
Anchored data type
 
Selection sort
Selection sortSelection sort
Selection sort
 
Mutlimedia authoring tools
Mutlimedia authoring toolsMutlimedia authoring tools
Mutlimedia authoring tools
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software tools
 
Lecture6 text
Lecture6   textLecture6   text
Lecture6 text
 
Sound
SoundSound
Sound
 
Lecture6 text
Lecture6   textLecture6   text
Lecture6 text
 
Images
ImagesImages
Images
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software tools
 
Cursor
CursorCursor
Cursor
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Hypertext and hypermedia

  • 1. Hypertext and Hypermedia PRAKASH KHAIRE B V PATEL INSTITUTE OF BMC & IT
  • 2. 384 Hypertext • Text augmented with links • Link: pointer to another piece of text in same or different document • Navigational metaphor • User follows a link from its source to its destination, usually by clicking on source with the mouse • Use browser to view and navigate hypertext
  • 3. Non-linearity • Hypertext not usually read linearly (from start to finish) • Links encourage branching off • History and back button permit backtracking • Not an innovation, but the immediacy of following links by clicking creates a different experience from traditional non-linearity (e.g. cross-references in encyclopedia)
  • 4. Links • Simple unidirectional links • Connect single point on one page with a point on another page (e.g. WWW) • Extended links • Regional links (ends may be regions within a page) • Bidirectional links (may be followed in both directions) • Multilinks (may have more than two ends)
  • 5. Browsing & Searching • Browsing – retrieve information by association • Follow links, backtrack • Maintain history, bookmarks • Searching – retrieve information by content • Construct indexes of URLs • Search by keyword/description of page
  • 6. 392–393 Web Indexes • Manual (Yahoo!, Open Directory Project,…) • Classify sites on basis of human evaluation of their content • Navigate hierarchy, or search entries by keyword • Automatic (Google, AltaVista,…) • Spider/robot 'crawls' Web, collecting URLs and keywords extracted from pages • Highly efficient search engine processes queries
  • 7. Automatic Indexing • Must extract keywords automatically from pages • Apply heuristics to identify meaningful words within text • Use metadata added by page's author • <meta name="keywords" content="…"> • <meta name="description" content="…"> • Google applies weighting based on number of links pointing to a page
  • 8. URLs • Uniform Resource Locators • Resource is something that can be accessed by a higher level Internet protocol • Often a file, but may be dynamically generated data • The way in which data can be accessed is constrained by the protocol used • e.g. mailbox
  • 9. 395–396 URL Syntax • Protocol :// domain name / path • N.B. This is a slight simplification, covering the most common usage • e.g. http://www.digitalmultimedia.org/Materials/keypoints.html • Domain name identifies a host within a hierarchical naming scheme • Path is like Unix pathname: segments separated by /s, identify resource in a hierarchy (e.g. file system)
  • 10. URL Paths • Complete specification of the location of a file containing HTML • e.g. /Materials/index.html • Implicit specification of a standard file within a directory • e.g. /Materials/ • Specification of a program that generates HTML dynamically • In special place (cgi-bin) or identified by extension (e.g. .php)
  • 11. 398 Partial URLs • URL with some of the leading components missing • Missing components filled in from the base URL of the document in which the partial URL occurs • Usually, base URL is the URL used to retrieve the document, but it can be set explicitly with <base> tag
  • 12. Fragment Identifiers • Links can point to a location within a page • URL identifies the entire page • Append a fragment identifier to a URL • #name • e.g. http://www.digitalmultimedia.org/index.html#top • Use a named anchor to identify the corresponding location in the page
  • 13. HTML Link Sources • In HTML, a element is used as the source of links • href attribute has destination URL as its value • Element content is displayed to indicate that it is a link (blue underlined &c) • e.g. • Visit <a href="http://www.digitalmultimedia.org/">the book's support site</a> In browser, clicking on underlined text follows the link Visit the book's support site
  • 14. HTML Link Destinations • You can also use a element as the destination • name attribute's value may be used as a fragment identifier • <a name="top">… • Alternatively (HTML4 and XHTML) use the id attribute of any element
  • 15. 400 Formatting Links • Use CSS pseudo-classes • link: formatting for links • visited: formatting for visited links • hover: formatting when cursor is over a link (rollover) • active: formatting when a link is clicked on • Use in CSS stylesheets with selectors a:link etc
  • 16. HTML & Hypermedia • href of an a element might not point to an HTML file • Server response will include MIME type when resource is retrieved (deduced from extension) • Browser will either • Deal with data itself • Call on a helper application to display the retrieved resource externally • Use a plug-in to display it in browser window
  • 17. Hypermedia Markup • If non-textual data is rendered within the browser, can integrate images, video, etc within Web page • img element is established way of embedding bitmapped images (GIF, JPEG, PNG) • object element can be used for any type of embedded data • embed element not standard, but widely supported for embedding video, audio and applets
  • 18. Links and Images • An image may appear in the content of an a element, to serve as a clickable link • e.g. thumbnail image linked to bigger version • An image map can contain several hot spots, each linked to a URL • usemap attribute of img designates map element, which contains area elements specifying shape and position of hot spots and their associated URLs