Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 4: Creating Hyperlinks Kelly L.

Slides:



Advertisements
Similar presentations
XP 1 Developing a Basic Web Site Tutorial 2: Web Site Structures & Links.
Advertisements

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.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links
Links and Comments.
New Perspectives on Creating Web Pages with HTML
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
Web development  World Wide Web (web) is the Internet system for hypertext linking.  A hypertext document (web page) is an online document. It contains.
XP Adding Hypertext Links to a Web Page. XP Objectives Create hypertext links between elements within a Web page Create hypertext links between Web pages.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 3: Hyperlinks and Images.
CIS101 Introduction to Computing Week 06. Agenda Your questions Resume project HTML Project Two This week online Next class.
CIS101 Introduction to Computing
CIS101 Introduction to Computing HTML Project Two.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
The Internet & The World Wide Web Notes
Copyright © 2004 ProsoftTraining, All Rights Reserved. Hyperlinks.
Internal and External Links Web Design – Section 3-6 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
CSI315CSI315 Building Web Sites. What is a website A website is just a bunch of web pages connected together with something called a link. In HTML there.
Shows the entire path to the file, including the scheme, server name, the complete path, and the file name itself. Same idea of stating your full name,
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.
HTML Essentials HyperText. Why HyperText ? Hypertext is text or pictures which reference other pages which the reader can immediately access Hypertext.
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.
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
Tutorial #2 Creating Links. Tutorial #1 Review Basic Page (DOCTYPE, HTML, Head, Title, Body) Tags Structure( ),,,,,, Nested Tags content Tag Attributes.
Internet Vocabulary 1-21 State Test Vocabulary. Address address, Internet address, and web address. A code or series of letters numbers and/or.
Informatics Computer School CS114 Web Publishing HTML Lesson 2.
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
Adding Hyperlinks To a Web Page. Hyperlink and Its Add-Ons Main way to connect web pages and move throughout a web site. Uses the Anchor Tag which is.
Understanding HTML Code
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.
XHTML Louise Soe updated September 2009.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
Developing a Web Site. Web Site Navigational Structures A storyboard is a diagram of a Web site’s structure, showing all the pages in the site and indicating.
Tutorial 4: Working with Hyperlinks. Objectives Session 4.1 – Place bookmarks on a Web page – Create a link to a bookmark – Create a link to another Web.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 2 1 New Perspectives on Creating Web Pages With HTML Tutorial 2: Adding Hypertext Links to.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
 The World Wide Web is a collection of electronic documents linked together like a spider web.  These documents are stored on computers called servers.
Tutorial 2 Developing a Basic Web Site. XP Objectives Learn how to storyboard various Web site structures Create links among documents in a Web site Understand.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 7: Working with Frames Kelly L.
Adding Links Learning Web Design: Chapter 6. Lesson Overview Using the anchor tag Linking to other pages with relative or absolute pathnames Linking to.
Committed to Shaping the Next Generation of IT Experts. Essentials For Design Dreamweaver Level One Julian Rickards Project 4 Linking the Site.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
INTRODUCTORY Tutorial 6 Using Links on a Web Page.
XHTML Hyperlinks. Creating Links to Other Web Pages A link, or hyperlink, is a specially formatted Web page object that the user can click to open a different.
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.
Internal and External Links Web Design – Section 3-6 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Tutorial 2 Developing a Web Site. XP Objectives Learn how to storyboard various Web site structures Create links among documents in a Web site Understand.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 5: Working with Tables Kelly L.
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
Internal and External Links Web Design – Section 3-6 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
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.
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
REEM ALMOTIRI Information Technology Department Majmaah University.
Hyperlink ● Anchor tag and its attributes ● Four Types of URL ─ ─ Absolute addressing ─ Relative addressing ─ Intrapage ● Attributes -- link, vlink,
The Internet, Fourth Edition-- Illustrated 1 The Internet – Illustrated Introductory, Fourth Edition Unit B Understanding Browser Basics.
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
XP 1 Charles Edeki AIU Live Chat for Unit 2 ITC0381.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
Basic Internet Skills. What is the internet? A large group of computers connected to one another Its purpose is to send information back and forth to.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
Links and Comments in HTML5
Internal and External Links
Internal and External Links
Links and Comments.
Links and Comments.
Links and Comments.
Links and Comments.
Presentation transcript:

Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 4: Creating Hyperlinks Kelly L. Valqui Essentials for Design XHTML

Copyright (c) 2004 Prentice-Hall. All rights reserved. 2 Visual Summary  Hyperlinks – clickable areas take the viewer to another location  Uniform Resource Locator (URL) – the Web address of a resource  Relative URL – local file or folder  Absolute URL – address on another Web server  Typically begins with  HTTP – hypertext transfer protocol  Web server – the computer hosting a webW site

Copyright (c) 2004 Prentice-Hall. All rights reserved. 3 Parts of a URL    This is the hypertext protocol  Used for transferring web pages across the Internet   Domain name of the computer where file is located  XHTML  A folder containing the file  contents.htm  The Web file itself

Copyright (c) 2004 Prentice-Hall. All rights reserved. 4 Using the Anchor tag for Creating Hyperlinks  Text link – a series of words or a URL to access information on a topic  Anchor tag – XHTML tag that allows creation of text links (or other types of links)   Example hyperlink  Click here to go to our home page!

Copyright (c) 2004 Prentice-Hall. All rights reserved. 5 Anchor Tag's Attributes for Creating Hyperlinks  href (hypertext reference)  Indicates the target – destination page or location of the link  title  Provides text that can appear in a tool tip when the mouse hovers over the link

Copyright (c) 2004 Prentice-Hall. All rights reserved. 6 Effects of, href, and title Tool tip generated by title="Home Page Link" Displayed text generated by text between the tag and the tag Click here to go to our home page! Mouse pointer changes when hovered over the link When user clicks, the page opened will be based on href="home.htm"

Copyright (c) 2004 Prentice-Hall. All rights reserved. 7 Creating and Linking to Within- Page Targets  The tag's name attribute  Creates a target at the location of the anchor tag  Commonly used on longer Web pages  Syntax:  link text  The pound (#) symbol in an href attribute  References one of the named anchor tags  Value after the pound sign must be identical to name of an anchor  Syntax:  link text

Copyright (c) 2004 Prentice-Hall. All rights reserved. 8 Effects of Within-Page Linking This line has Can a duck fly if it's wet? This line has Can a duck fly if it’s wet? Clicking here takes you to the "duck" line

Copyright (c) 2004 Prentice-Hall. All rights reserved. 9 Using a Special Value #top This line has Back To Top Clicking here takes you to the top of the page (no need for an anchor named "top"

Copyright (c) 2004 Prentice-Hall. All rights reserved. 10 How to Turn an Image into a Hyperlink  Place an tag between the and tags  Example:   Image links are often used to provide a graphical navigation layout  You can put any content between and in order to make it a hyperlink

Copyright (c) 2004 Prentice-Hall. All rights reserved. 11 Effect of Image Hyperlinks Image changed to a link: Note the border and the hand- shaped mouse pointer Image without a link

Copyright (c) 2004 Prentice-Hall. All rights reserved. 12 Organizing Files  Good Web site design involves planning the file organization  Separate folders should be created for:  Each content section  Assets (images or audio files)  Consistent reference points and standard locations

Copyright (c) 2004 Prentice-Hall. All rights reserved. 13 Attributes for Border Removal and Link Color Control  tag's border attribute  border = X  sets the border to be X pixels thick  Border = 0 will remove the border from the image  tag's link and ylink attributes  link – for specifying a link color  vlink – for specifying a visited link's color  alink – for specifying a link's color as it is clicked  Image border color  If not a link, default is black  If a link, default is link color of page

Copyright (c) 2004 Prentice-Hall. All rights reserved. 14 Effect of Border Removal a href="faq.htm">

Copyright (c) 2004 Prentice-Hall. All rights reserved. 15 Using Absolute and Relative URLs  Absolute URLs include both the domain name and the file name  Domain name – the computer's unique name on the Internet  Relative URLs – include only the file name, not the domain name  Refer to files on the same Web server  Therefore URL refers to the same domain name

Copyright (c) 2004 Prentice-Hall. All rights reserved. 16 Default File Names  Sometimes absolute URLs don't need a file name  Example:  This has only the protocol (http) and the domain name againsttheclock.com  The file name is assumed. It is a default file name (such as default.htm or index.htm)

Copyright (c) 2004 Prentice-Hall. All rights reserved. 17 Types of URLs  Protocol: a set of rules for communication between programs  Common Internet protocols are:  http: Hypertext Transfer Protocol  Web pages  https: Secure Hypertext Transfer Protocol  Web pages with encrypted messages  file  URL to a file on the local hard drive  mailto  protocol for link  ftp: File Transfer Protocol  Uploading and downloading files; faster than http

Copyright (c) 2004 Prentice-Hall. All rights reserved. 18 Using the Tag  Concepts  Problems with relative URLs  Global referencing via the tag

Copyright (c) 2004 Prentice-Hall. All rights reserved. 19 How the Tag Overcomes Problems with Relative URLs  If a Web page is copied to a local hard drive without copying linked pages or images  Relative URLs will not work, because the linked files are remote  tag indicates the source of all linked references  Browser automatically includes reference to all URLs in the page

Copyright (c) 2004 Prentice-Hall. All rights reserved. 20 Using mailto in the href attribute  mailto is an alternative protocol href  Example  Send here  Clicking a mailto link will:  Start the computer's default software  Place the specified recipient account in the To: field  Limitation  If software is not loaded, the link will not work

Copyright (c) 2004 Prentice-Hall. All rights reserved. 21 Links in XHTML 2.0  In XHTML 1.x, href attributes are confined to anchor tags  Example, to make a header with a link requires:  Web Design at About  In XHTML 2.0, any tag can include an href attribute  Example, to make a header with a link:  Web Design at About  No anchor tag necessary