Adding Links Chapter 6 4/9/2019.

Slides:



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

4.01 How Web Pages Work.
XP 1 Developing a Basic Web Site Tutorial 2: Web Site Structures & Links.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 5: Hyperlinks.
New Perspectives on Creating Web Pages with HTML
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.
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)
Copyright © 2004 ProsoftTraining, All Rights Reserved. Hyperlinks.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
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.
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,
1 HTML References: A HTML Tutorial: /HTMLPrimer.html
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.
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.
Internet Applications Development Lecture 5 L. Obead Alhadreti.
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
 The tag to create a link is called, which stands for anchor.  You put the address of the page to link to in quotes after href=, like the following:
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.
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.
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.
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 HTML uses a hyperlink to another document on the Web.
Hit125 application concepts Types of links File paths & directory structures.
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
Hyperlink ● Anchor tag and its attributes ● Four Types of URL ─ ─ Absolute addressing ─ Relative addressing ─ Intrapage ● Attributes -- link, vlink,
Session: 4. © Aptech Ltd. 2Creating Hyperlinks and Anchors / Session 4  Describe hyperlinks  Explain absolute and relative paths  Explain how to hyperlink.
Introduction to Web Authoring Ellen Cushman our syllabus
Chapter 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
XP 1 Charles Edeki AIU Live Chat for Unit 2 ITC0381.
Chapter 8 Adding Multimedia Content to Web Pages HTML5 & CSS 7 th Edition.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
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.
4.01 How Web Pages Work.
HTML Links CS 1150 Spring 2017.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Web-based structures, links and testing
Internal and External Links
Sec (4.3) The World Wide Web.
Internal and External Links
Hyperlink Anchor tag and its attributes Four Types of URL
Hosted by Coach Slanina
LINKS.
Web Engineering Hyperlinks, Tables, Frames Lecture 04
Web Design and Development
Hyperlink Anchor tag and its attributes Four Types of Hyperlink
Chapter 27 WWW and HTTP.
How files are organized
CNIT 131 HTML5 – Anchor/Link.
Basic HTML and Embed Codes
Hyperlink Anchor tag and its attributes Four Types of URL
HTML Links.
Lesson 4: Hyperlinks.
WEB & HTML Background Info.
HTML LINKS
4.01 How Web Pages Work.
HTML Links CS 1150 Fall 2016.
4.01 How Web Pages Work.
Introduction to Web Authoring
Presentation transcript:

Adding Links Chapter 6 4/9/2019

Linking You can link to other sites, your own, and also within a page itself. You use anchor tag <a> …</a> <a href="url">linked textor element</a> Example to link a web site: <a href="http://www.oreilly.com">Go to the O'Reilly Media site</a> 4/9/2019

URL and href The href (hypertext reference) attribute provides the address of the page or resource (its URL) to the browser. URL: Uniform Resource Locator The URL must always appear in quotation marks. Most of the time you’ll point to other HTML documents; however, you can also point to other web resources, such as images, audio, and video files. 4/9/2019

Specifying URL There are two ways to specify the URL: Absolute URLs provide the full URL for the document, including the protocol (http://), the domain name, and the pathname as necessary. You need to use an absolute URL when pointing to a document out on the Web (i.e., not on your own server). Example: href="http://www.oreilly.com/" Relative URLs describe the pathname to a file relative to the current document. Relative URLs can be used when you are linking to another document on your own site (i.e., on the same server). It doesn’t requirethe protocol or domain name—just the pathname. Example: href="recipes/index.html" 4/9/2019

Adding external link to Jen’s Kitchen You can embed any html element within another element <ol> <li><a href="http://www.foodnetwork.com">The Food Network</a></li> <li><a href=“http://www.epicurious.com”>Epicurious </a></li> </0l> 4/9/2019

Structure of Jen’s Kitchen 4/9/2019

Jen’s Kitchen Structure 4/9/2019

Linking within a site <a href="about.html">About the site...</a> 4/9/2019

Linking to a lower directory <li><a href="recipes/salmon.html">Garlic Salmon</a></li> <li><a href="recipes/pasta/couscous.html">Couscous with Peas and Mint</a></li> 4/9/2019

Linking to a higher directory <p><a href="../index.html">[Back to home page]</a></p> 4/9/2019

Lets try it out 4/9/2019