<a href=" WRITING LINKS Click: Value of the href attribute is highlighted - Explain that this is the 'value' of the href.

Slides:



Advertisements
Similar presentations
WRITING LINKS IMDB WRITING LINKS IMDB THE PAGE THE LINK TAKES YOU TO.
Advertisements

XP 1 Developing a Basic Web Site Tutorial 2: Web Site Structures & Links.
Developing a Web Site: Links Using a link is a quicker way to access information at the bottom of a Web page than scrolling down A user can select a link.
In this lecture, you will learn: ❑ How to link between pages of your site ❑ How to link to other sites ❑ How to structure the folders on your web site.
Links and Comments.
HTML Introduction (cont.) 10/01/ Lecture 8, MAT 279, Fall 2009.
27 September. Thursday’s Current Event: Follow Up Lands End Already offers VoIP eBay to purchase Skype Connect buyers and sellers Google Offers instant.
Web Structure Create Links Using HTML. 2 Objectives List different types of Web site structures and how to employ them Create element ids to mark specific.
1 Linking Web Pages Why is Hypertext Hyper? Storyboarding Page Links (Site Map) Path to Files Various Links Click Here :( Page Footers.
1 Linking Web Pages Why is Hypertext Hyper? Storyboarding Page Links (Site Map) Sequential and Indexed-Sequential Designs Hierarchical Design Custom Design.
Announcement #1 1 Lecture 9. Announcement #2  Midterm exam will be on Oct. 12 (Tuesday)  pm – 1.45 pm  Exam will cover all materials till Oct.
XP 1 Developing a Basic Web Site Creating a Chemistry Web Site Tutorial 2.
XP Tutorial 2New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Developing a Basic Web Site Creating a Chemistry Web Site Tutorial 2.
CNIT 132 – Week 3 HTML (2). Working with Links Using a link is a quicker way to access information at the bottom of a Web page than scrolling down. A.
Links in HTML. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another web page on the same.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
Pre-Coding Web Design – Sec 3-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Mohammed Mohsen Links Links are what make the World Wide Web web-like one document on the Web can link to several other documents, and those.
Tutorial #2 Creating Links. Tutorial #1 Review Basic Page (DOCTYPE, HTML, Head, Title, Body) Tags Structure( ),,,,,, Nested Tags content Tag Attributes.
HTML (Hypertext Markup Language ). Hyperlinks Hyperlinks from text to other sites Write the link, which is visible at the screen Example: Hyperlink to.
Hyperlinks. Linking pages…Hyperlinks 2 Lecture 8  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page.
Web Design (5) Navigation (1). Creating a new website called ‘Navigation’ In Windows Explorer, open the folder “CU3A Web Design Group”; and then the sub-folder.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 4: Creating Hyperlinks Kelly L.
CHAPTER 4 LINKS Creating links between pages Linking to other sites links.
WEB DESIGN UNIT 2 Unit 2 Module 2-5. WHAT HAVE YOU LEARNED?  What is the title tag do? Where does it show?  What are the tags that need to be on every.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 6: Links.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
Adding Links Learning Web Design: Chapter 6. Lesson Overview Using the anchor tag Linking to other pages with relative or absolute pathnames Linking to.
Creating Links. The Anchor Element: The anchor tag can be used in three different ways: 1.External link – to link to a web page outside your own website.
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
ET710 HTML Paths: Dot Dot Slash Notation. Directory (folder) Hierarchy. We can think of a computer’s file structure as a tree with branches. The trunk.
XP INFT 140 – Chapter 2 1 Developing a Basic Web Site Creating a Chemistry Web Site.
Links in HTML What you need to know….. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another.
HTML Links HTML uses a hyperlink to another document on the Web.
The Internet and World Wide Web Sullivan University Library.
Links Building a Website Lesson 5. Links There are various ways to use links on a website: Link to other sites Link to other pages on the same site .
Developing a Basic Web Site HTML Tutorial 2. Objectives Define links and how to use them. Create element ids to mark specific locations within a document.
HTML Links and navigation Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
XP 1 Charles Edeki AIU Live Chat for Unit 2 ITC0381.
CIS 228 The Internet Day 4, 9/8/11 Getting on the Internet.
IN THIS LESSON, WE WILL BECOME FAMILIAR WITH HTML AND BEGIN CREATING A WEB PAGE IN YOUR COMPUTER HTML – the foundation.
01 – HTML (1) Informatics Department Parahyangan Catholic University.
Hyperlinks Links for Other Pages. Hyperlink (aka Link) Text (or image) user can click Takes user to different location In general, location can be: On.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
The Internet Day 4, 9/8/11 Getting on the Internet
HTML Links CS 1150 Spring 2017.
>> HTML: Tags – Hyperlink, Media, Lists
Objective % Select and utilize tools to design and develop websites.
Links and Comments in HTML5
Pre-Coding Web Design – Sec 3-1
Links and Comments.
USING DREAMWEAVER Contents: Assigning a Root Folder
LINKS.
Objective % Select and utilize tools to design and develop websites.
David Tristano Drexel IRT Dept.
Links.
How files are organized
CNIT 131 HTML5 – Anchor/Link.
Links and Comments.
HTML Introduction Lecture 8.
USING DREAMWEAVER MX 2004 Contents: Assigning a Root Folder
Links and Comments.
KEYBOARD and IMPORTANT KEYS
Links and Comments.
IDT Links in HTML What you need to know….
HTML Links CS 1150 Fall 2016.
Website File Management
Hyperlinks Anchor Tags.
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Presentation transcript:

<a href="http://www.imdb.com">IMDB</a> WRITING LINKS Click: Value of the href attribute is highlighted - Explain that this is the 'value' of the href attribute Click: Clickable area is highlighted (what the user sees) <a href="http://www.imdb.com">IMDB</a>

WRITING LINKS THE PAGE THE LINK TAKES YOU TO Click: Value of the href attribute is highlighted - Explain that this is the 'value' of the href attribute Click: Clickable area is highlighted (what the user sees) <a href="http://www.imdb.com">IMDB</a>

WRITING LINKS THE PAGE THE LINK TAKES YOU TO Click: Value of the href attribute is highlighted - Explain that this is the 'value' of the href attribute Click: Clickable area is highlighted (what the user sees) <a href="http://www.imdb.com">IMDB</a> THE TEXT THE USER CLICKS ON

LINKING TO OTHER SITES <a href="http://www.empireonline.com"> Empire</a>

LINKING TO OTHER PAGES ON THE SAME SITE <a href=”index.html”>Home</a> <a href=”about.html”>About</a> <a href=”movies.html”>Movies</a> <a href=”contact.html”>Contact</a> Explain: when linking to pages in own site can use shorthand - Relative URLs These links are to pages that are all in the same folder

DIRECTORY STRUCTURE examplearts index.html movies cinema listings.html reviews.html dvd music theater Shows files used for a fictional site (compare to Finder / Windows explorer) Home page, then sections about Movies, Music, and Theater Movies has two sections: Cinema and DVD Note: Folders often referred to as directories on server Click: Root folder - folder that everything else sits inside Click: Child folder Click: Parent folder Click: Granchild folder Click: Grandparent folder Note use of terms similar to those of a family tree

DIRECTORY STRUCTURE examplearts index.html movies cinema listings.html ROOT FOLDER examplearts index.html movies cinema listings.html reviews.html dvd music theater Shows files used for a fictional site (compare to Finder / Windows explorer) Home page, then sections about Movies, Music, and Theater Movies has two sections: Cinema and DVD Note: Folders often referred to as directories on server Click: Root folder - folder that everything else sits inside Click: Child folder Click: Parent folder Click: Granchild folder Click: Grandparent folder Note use of terms similar to those of a family tree

DIRECTORY STRUCTURE examplearts index.html movies cinema listings.html reviews.html dvd music theater CHILD Shows files used for a fictional site (compare to Finder / Windows explorer) Home page, then sections about Movies, Music, and Theater Movies has two sections: Cinema and DVD Note: Folders often referred to as directories on server Click: Root folder - folder that everything else sits inside Click: Child folder Click: Parent folder Click: Granchild folder Click: Grandparent folder Note use of terms similar to those of a family tree

DIRECTORY STRUCTURE examplearts index.html movies cinema listings.html reviews.html dvd music theater CHILD PARENT Shows files used for a fictional site (compare to Finder / Windows explorer) Home page, then sections about Movies, Music, and Theater Movies has two sections: Cinema and DVD Note: Folders often referred to as directories on server Click: Root folder - folder that everything else sits inside Click: Child folder Click: Parent folder Click: Granchild folder Click: Grandparent folder Note use of terms similar to those of a family tree

DIRECTORY STRUCTURE examplearts index.html movies cinema listings.html reviews.html dvd music theater CHILD PARENT GRANDCHILD Shows files used for a fictional site (compare to Finder / Windows explorer) Home page, then sections about Movies, Music, and Theater Movies has two sections: Cinema and DVD Note: Folders often referred to as directories on server Click: Root folder - folder that everything else sits inside Click: Child folder Click: Parent folder Click: Granchild folder Click: Grandparent folder Note use of terms similar to those of a family tree

DIRECTORY STRUCTURE examplearts index.html movies cinema listings.html reviews.html dvd music theater CHILD PARENT GRANDCHILD Shows files used for a fictional site (compare to Finder / Windows explorer) Home page, then sections about Movies, Music, and Theater Movies has two sections: Cinema and DVD Note: Folders often referred to as directories on server Click: Root folder - folder that everything else sits inside Click: Child folder Click: Parent folder Click: Granchild folder Click: Grandparent folder Note use of terms similar to those of a family tree GRANDPARENT

RELATIVE URLS examplearts index.html movies cinema listings.html reviews.html dvd music theater Shows the same directory structure as previous slide, but this time shows the relative URL Click: Same folder - from music home page to music reviews page Click: Child - from main home page to music listings page Click: Parent - from music listings to main home page Click: Grandchild - from main home page to DVD reviews page Click: Grandparent: from DVD reviews to main home page

RELATIVE URLS examplearts index.html movies cinema listings.html reviews.html dvd music theater SAME reviews.html Shows the same directory structure as previous slide, but this time shows the relative URL Click: Same folder - from music home page to music reviews page Click: Child - from main home page to music listings page Click: Parent - from music listings to main home page Click: Grandchild - from main home page to DVD reviews page Click: Grandparent: from DVD reviews to main home page

RELATIVE URLS examplearts index.html movies cinema listings.html reviews.html dvd music theater CHILD music/index.html SAME reviews.html Shows the same directory structure as previous slide, but this time shows the relative URL Click: Same folder - from music home page to music reviews page Click: Child - from main home page to music listings page Click: Parent - from music listings to main home page Click: Grandchild - from main home page to DVD reviews page Click: Grandparent: from DVD reviews to main home page

RELATIVE URLS examplearts index.html movies cinema listings.html reviews.html dvd music theater PARENT ../index.html SAME reviews.html CHILD music/index.html Shows the same directory structure as previous slide, but this time shows the relative URL Click: Same folder - from music home page to music reviews page Click: Child - from main home page to music listings page Click: Parent - from music listings to main home page Click: Grandchild - from main home page to DVD reviews page Click: Grandparent: from DVD reviews to main home page

RELATIVE URLS examplearts index.html movies cinema listings.html reviews.html dvd music theater GRANDCHILD movies/dvd/index.html SAME reviews.html CHILD music/index.html Shows the same directory structure as previous slide, but this time shows the relative URL Click: Same folder - from music home page to music reviews page Click: Child - from main home page to music listings page Click: Parent - from music listings to main home page Click: Grandchild - from main home page to DVD reviews page Click: Grandparent: from DVD reviews to main home page PARENT ../index.html

RELATIVE URLS examplearts index.html movies cinema listings.html reviews.html dvd music theater GRANDPARENT ../../index.html SAME reviews.html CHILD music/index.html Shows the same directory structure as previous slide, but this time shows the relative URL Click: Same folder - from music home page to music reviews page Click: Child - from main home page to music listings page Click: Parent - from music listings to main home page Click: Grandchild - from main home page to DVD reviews page Click: Grandparent: from DVD reviews to main home page PARENT ../index.html GRANDCHILD movies/dvd/index.html

EMAIL LINKS <a href="mailto:jon@example.org">Email Jon </a> Click: highlights the mailto: before email address

EMAIL LINKS <a href="mailto:jon@example.org">Email Jon </a> Click: highlights the mailto: before email address

OPENING LINKS IN A NEW WINDOW <a href="http://www.imdb.com" target="_blank">IMDB</a> (opens in a new window) Click: highlights target="_blank" Note: tell users when link opens in a new window

OPENING LINKS IN A NEW WINDOW <a href="http://www.imdb.com" target="_blank">IMDB</a> (opens in a new window) Click: highlights target="_blank" Note: tell users when link opens in a new window

LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> Explain: on a long page you can link from one part of page to another Typical use = back to top links at bottom of pages and links from content at top of page to lower part Click: Arrow indicates clicking on prologue link takes you to that part of the page (content page will scroll down) Highlighting indicates how the link relates to the element with the corresponding id attribute Click: Arrow points to clicking on Top link, page scrolls back up Highlighting shows how the link relates to the element with the corresponding id attribute Note: The value of the id attribute must be unique to that page Must start with letter or underscore (not a number)

LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> Explain: on a long page you can link from one part of page to another Typical use = back to top links at bottom of pages and links from content at top of page to lower part Click: Arrow indicates clicking on prologue link takes you to that part of the page (content page will scroll down) Highlighting indicates how the link relates to the element with the corresponding id attribute Click: Arrow points to clicking on Top link, page scrolls back up Highlighting shows how the link relates to the element with the corresponding id attribute Note: The value of the id attribute must be unique to that page Must start with letter or underscore (not a number)

LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> Explain: on a long page you can link from one part of page to another Typical use = back to top links at bottom of pages and links from content at top of page to lower part Click: Arrow indicates clicking on prologue link takes you to that part of the page (content page will scroll down) Highlighting indicates how the link relates to the element with the corresponding id attribute Click: Arrow points to clicking on Top link, page scrolls back up Highlighting shows how the link relates to the element with the corresponding id attribute Note: The value of the id attribute must be unique to that page Must start with letter or underscore (not a number)

LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> Explain: on a long page you can link from one part of page to another Typical use = back to top links at bottom of pages and links from content at top of page to lower part Click: Arrow indicates clicking on prologue link takes you to that part of the page (content page will scroll down) Highlighting indicates how the link relates to the element with the corresponding id attribute Click: Arrow points to clicking on Top link, page scrolls back up Highlighting shows how the link relates to the element with the corresponding id attribute Note: The value of the id attribute must be unique to that page Must start with letter or underscore (not a number)

LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> Explain: on a long page you can link from one part of page to another Typical use = back to top links at bottom of pages and links from content at top of page to lower part Click: Arrow indicates clicking on prologue link takes you to that part of the page (content page will scroll down) Highlighting indicates how the link relates to the element with the corresponding id attribute Click: Arrow points to clicking on Top link, page scrolls back up Highlighting shows how the link relates to the element with the corresponding id attribute Note: The value of the id attribute must be unique to that page Must start with letter or underscore (not a number)

Links are created using the <a> element. SUMMARY Links are created using the <a> element. Clicks: Load individual bullets

SUMMARY The <a> element uses the href attribute to indicatethe page you are linking to. Clicks: Load individual bullets

SUMMARY If you are linking to a page within your own site, it is best to use relative links rather than qualified URLs. Clicks: Load individual bullets

SUMMARY You can create links to open email programs with an email address in the "to" field. Clicks: Load individual bullets

SUMMARY You can use the id attribute to target elements within a page that can be linked to. Clicks: Load individual bullets