Lesson 4: Hyperlinks.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter Four All About Hyperlinks.
Advertisements

3.02D HTML Overview 3.02 Develop webpages.
Internet Programming Practicum Credits : 4 Information System Study Program 1Internet Programming Practicum Lecturers : Kurniawan, S.Kom., M.M. Module.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links
External Site Links by Awnya Boam. Links are found… …almost everywhere on the internet. They allow users to travel from one site to another.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 5: Hyperlinks.
Relative and Absolute Relative Absolute.  In web-page design, a hyperlink (or link) is a reference to a document that the reader can directly follow,
Creating hyperlinks with the tag Skills: using the tag IT concepts: tag, attribute This work is licensed under a Creative Commons Attribution-Noncommercial-Share.
Links and Comments.
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.
Computer Science 1611 Internet & Web Creating Webpages Hypertext and the HTML Markup Language.
Lecture Navigation. What is Navigation? Hypertext – creates links Process of linking from a page to: –Another page in the same website –Another page on.
Lecture 13. A Very Brief Introduction to HTML and XHTML, part II Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Hyperlinks.
Basics of HTML.
Slide 1 Today you will: think about criteria for judging a website understand that an effective website will match the needs and interests of users use.
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.
HTML Links and Anchors.
IT Introduction to Website Development Welcome!
Review: How do you change the border color of an image?
Should have seen something like this last week What does do? stands for table row and starts a new row in the table.
HTML Essentials HyperText. Why HyperText ? Hypertext is text or pictures which reference other pages which the reader can immediately access Hypertext.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
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 3 USING HYPERLINKS TO CONNECT CONTENT. LEARNING OBJECTIVES How to use the and anchor tag pair to create a text-based hyperlink. How to use the.
Internet Applications Development Lecture 5 L. Obead Alhadreti.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Unit 1 — HTML BASICS Lesson 2 — HTML Organization Techniques.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
Enhancing Your Web Site—Adding Links Web Page **YOU MUST HAVE COMPLETED THE 1ST 3 WEB PAGES BEFORE YOU CAN DO THIS ONE. **YOU SHOULD HAVE COMPLETED THE.
Unit 3 Day 6 FOCS – Web Design. Journal Unit #3 Entry #4 Write the source code that would make the following display on a rendered page: Shopping List.
Adding Links Learning Web Design: Chapter 6. Lesson Overview Using the anchor tag Linking to other pages with relative or absolute pathnames Linking to.
Web software. Two types of web software Browser software – used to search for and view websites. Web development software – used to create webpages/websites.
IT Website Development Welcome!. Welcome to Unit 5! Working with Navigation This week’s reading: Chapter 10: Working with Navigation This Chapter.
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.
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.
Chapter 6 Links. 3 Parts of Links 1. Destination: defines what happens when a user clicks the link. 2. Label: this is the text (or possibly an image)
HTML Links HTML uses a hyperlink to another document on the Web.
Session: 4. © Aptech Ltd. 2Creating Hyperlinks and Anchors / Session 4  Describe hyperlinks  Explain absolute and relative paths  Explain how to hyperlink.
HTML Overview.  Students will learn: How HTML tagging works How browsers display tagged documents How an HTML document is structured.
HTML5 and CSS3 Illustrated Unit C: Getting Started with CSS.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
Internal and External Links
Internal and External Links
Hosted by Coach Slanina
Creating Links.
LINKS.
Web software.
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Introduction to XHTML.
WEBSITE DESIGN Chp 1
Lesson Objectives Lesson Outcomes
Basic HTML and Embed Codes
Creating Links.
Intro to Web Development Links
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
4.02A HTML Overview 4.02 Develop web pages using various layouts and technologies. (Note to instructor: HTML tags are in red only to differentiate from.
Creating Links.
Hyperlinks Anchor Tags.
Presentation transcript:

Lesson 4: Hyperlinks

Lesson 4 Objectives Define and use the anchor element Create local hyperlinks Create external hyperlinks Use images as hyperlinks Create internal hyperlinks Manage hyperlinks

The Anchor Element The <a> element creates a hyperlink The href attribute is used to specify the link's hypertext reference, or the target of the link The syntax for using the anchor element to create a link is as follows: <a href="URL"> linked text or image (or both) </a>

The Anchor Element (cont'd) Examples of values for the URL when referencing external links:

The Anchor Element (cont'd) Various protocols you can specify in a hyperlink URL:

The Anchor Element (cont'd) Make sure that you: Use a closing anchor tag </a> Place quotation marks around the value Include the closing bracket at the end of the opening <a> tag Various issues to troubleshoot with hyperlinks include: Text and images that disappear Successive Web page text that appears as a hyperlink Garbled code that appears on screen Code that will not validate due to a problem <a> tag

Hyperlinks Types of hyperlinks include: Local hyperlink – a link you create from one file on your local system to another file on your local system External hyperlink – a link you create from a file on your system to a separate file on the Internet Internal link – a link you create to target other areas within the same page You can create a hyperlink from an image by surrounding the image tag with opening and closing anchor tags

Creating Internal Links Creating an internal link requires two steps: Use the anchor element, <a>, with the id attribute to define an area as a target (the bookmark or anchor) In another portion of the page, create the link that points to the bookmark using the anchor element with the hypertext reference (href) attribute

Managing Hyperlinks All hyperlinks need to be verified Verify that the URL or other reference is valid Verify that the target page or location is accessible Hyperlinks need to be managed Over time, URLs (and content) change "Dead" links frustrate users Use automated link-checking software to validate hyperlinks Manually check links to verify relevance of linked content

Lesson 4 Summary Define and use the anchor element Create local hyperlinks Create external hyperlinks Use images as hyperlinks Create internal hyperlinks Manage hyperlinks