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)

Slides:



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

HTML III. Learning Objectives HTML Links Structuring Pages with Frames Introduction to Cascading Style Sheets (CSS)
Web Development & Design Foundations with XHTML
Internet Programming Practicum Credits : 4 Information System Study Program 1Internet Programming Practicum Lecturers : Kurniawan, S.Kom., M.M. Module.
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.
External Site Links by Awnya Boam. Links are found… …almost everywhere on the internet. They allow users to travel from one site to another.
Hyperlink & Form Pertemuan 11 Matakuliah: L0182 / Web & Animation Design Tahun: 2008.
Microsoft Expression Web-Illustrated Unit C: Adding Text and Links.
Links and Comments.
HTML Introduction (cont.) 10/01/ Lecture 8, MAT 279, Fall 2009.
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.
COS 125 DAY 15. Agenda Assignment 4 Posted –Due March 25 Assignment 5 posted –Due April 1 (no joke!) Left to do –5 Assignments (9 total) One per week.
COS 125 DAY 16. Agenda Second Capstone Progress Report Due March 23 (next class ) Assignment #4 assigned –Due Tuesday March 23 Exam #3 will March 26 –Castro.
COS 125 DAY 15. Agenda Second Capstone Progress Report Due Mar 24 Assignment #4 assigned –Due Thursday, March 24 Exam #3 will be on March 24 –Castro Chaps.
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.
Lecture 13. A Very Brief Introduction to HTML and XHTML, part II Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
HTML Links and Anchors.
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.
Review: How do you change the border color of an image?
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.
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
Hyperlinks. Linking pages…Hyperlinks 2 Lecture 8  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page.
HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.
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.
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.
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
Making a Game Linking Slides. To link slides: 1.Prepare your storyboard 2.Complete all slides 3.Link the slides.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
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.
CO1552 – Web Application Development Linking Pages - The Basis of the Web.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
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.
XP 1 HTML Tutorial 2: Developing a Basic 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.
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 .
REEM ALMOTIRI Information Technology Department Majmaah University.
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
Session: 4. © Aptech Ltd. 2Creating Hyperlinks and Anchors / Session 4  Describe hyperlinks  Explain absolute and relative paths  Explain how to hyperlink.
HTML Lab4 Ins.Samia alblwi. O UTLINE : 1-Links 2-Frame.
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
This is a test Webpage Wow, I’m writing my first webpage.
Web Page Design XHTML Lesson 4. Adding Structure 4 A div tag –Used to divide up a web page and to add structural meaning to the page. –Will not change.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
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.
Links and Comments in HTML5
Links and Comments.
Lecture 3 Sarsenova Zhibek.
Hosted by Coach Slanina
Creating Links.
LINKS.
Web software.
Links and Comments.
HTML Introduction Lecture 8.
Creating Links.
Lesson 4: Hyperlinks.
Links and Comments.
Links and Comments.
HTML LINKS
IDT Links in HTML What you need to know….
Creating Links.
Hyperlinks Anchor Tags.
Presentation transcript:

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) that is the hyperlink. A user clicks the label and is taken to a destination. 3. Target: does the destination open in a new browser window? Or perhaps a frame?

3 Parts of Links (2) Google DestinationTargetLabel

What Can I Link To? External Web Pages Ex: Internal Web Pages (within your own site) Ex:../projects/projectone/index.htm Images Ex:../images/cat.jpg Movies & Sound files Ex:../mymusic/linkinpark/mydecember.mp3 Named Anchors (bookmarks within a web page) Ex: #answers Links Ex:

Linking to a Web Page label Use Absolute URLs for links to other sites Ex: Use Relative URLs for links in your own site Ex: href stands for hypertext reference

“Deep” Links Deep Links are links inside other web sites that bypass the main page of the site. Issues: 1. Advertisements may not be seen. 2. Can feel like a violation 3. Has instigated numerous lawsuits in the past several years

Creating Anchors label The code above creates an anchor or place to jump to when a hyperlink is clicked. Ex 1 (jumping to a named anchor): Introduction Ex 2 (jumping to an id): Introduction

Jumping to External Anchors When linking to a named anchor on another web page use the following syntax: or When you see a # sign in the destination realize you are linking to a named anchor!!

Links Can Open New Windows Use the target attribute to open a link in a new browser window: The “_blank” value forces a new browser window to open.

Links Can Open In Specific Windows Use the target attribute to open a link in a specific browser window: If the window name is not an active window a new window will be opened and assigned the window name in the target attribute.

XHTML & Targets XHTML strict does not include the target attribute in named anchors. Use a JavaScript instead of the target attribute. (We will not learn how at this point in time.)

Other Kinds of Links Linking to an FTP site: Linking to a movie, sound, program, MS Office document, etc: Linking to an address:

Creating Keyboard Shortcuts for Links Keyboard shortcuts let your visitors select and activate links without using a mouse. To create a keyboard shortcut to a link use the accesskey attribute: The alt key must be pressed in conjuction with the access key (e.g. alt + g)

Setting the Tab Order for Links Tab Order dictates which link get the focus each time the tab key is pressed. Use the tabindex attribute to set the tab order for links on your page:

Creating Image Links We can turn an image into a link by rapping the element around the element as follows: