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.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter Four All About Hyperlinks.
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.
Links and Comments.
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.
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.
Tutorial 6 Working with Web Forms
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 3: Hyperlinks and Images.
Chinese Building. Today’s Topic Review last lab Links.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Lecture 13. A Very Brief Introduction to HTML and XHTML, part II Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML Links and Anchors.
Project Four Forms Discuss form processing Describe the difference between client-side and server-side form processing Add a horizontal rule to a Web page.
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.
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.
HTML Essentials HyperText. Why HyperText ? Hypertext is text or pictures which reference other pages which the reader can immediately access Hypertext.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
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.
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.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Doing L I N K S Links 1: Internal Links Links to anchors on the current page (Internal).
Python CGI programming
OBJECTIVES  What is HTML  What tools are needed  Creating a Web drive on campus (done only once)  HTML file layout  Some HTML tags  Creating and.
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
Creating Web Pages with Links, Images, and Formatted Text Information Presented by S. Cox.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
1 Web Developer Foundations: Using XHTML Chapter 3 XHTML Hyperlinks and Tables.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
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.
Introduction to JavaScript CS101 Introduction to Computing.
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
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)
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.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
HTML Links HTML uses a hyperlink to another document on the Web.
Images. Intro What is it? Getting your image Inserting Moving Resizing Cropping.
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
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.
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,
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 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
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.
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.
INTERNET APPLICATIONS CPIT405 Forms, Internal links, meta tags, search engine friendly websites.
LISTS AND LINKS Explained By: Sarbjit Kaur. Lecturer, Department of Computer Application, PGG.C.G., Sector: 42, Chandigarh.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
TNPW1 Ing. Jiří Štěpánek.  Tags  Marks for elements ▪ Pair ▪ Start and end tag ( Paragraph text ) ▪ Single ▪ Only start tag, according to XHTML 1.0.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
HTML Links CS 1150 Spring 2017.
Links and Comments in HTML5
Links and Comments.
Lecture 3 Sarsenova Zhibek.
Hyperlinks, Images and Tables
CNIT 131 HTML5 – Anchor/Link.
Links and Comments.
Hyperlinks, Images and Tables
Links and Comments.
Links and Comments.
HTML LINKS
IDT Links in HTML What you need to know….
HTML Links CS 1150 Fall 2016.
Presentation transcript:

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 ❑ How to link to specific parts of a page in your site

A link is specified using the element. Anything between the opening tag and the closing tag becomes part of the link a user can click in a browser. Hyperlinks allow visitors to navigate between web sites by clicking on words, phrases, and images. 3

1) The tags used to produce links are the and. The tells where the link should start and the indicates where the link ends. Everything between these two will work as a link. 2) The example below shows how to make the word Here work as a link to yahoo. Click here to go to yahoo.

 To link to another document, the opening tag must carry an attribute called href; the value of the href attribute is the page you are linking to. Example: Return to the index page.  Index.html should be in the same folder, when you click the words “index page,” the index.html page will be loaded into the same window, replacing the current page.

 If you want to link to a different site, you can use the following syntax, where you specify a full URL (Uniform Resource Locator) for the page you want to link to rather than just the filename. Example: Why not visit the Wrox Web site ?

Example: Please Contact us This is the first example of AJAX

 Internal Links : Links can also be created inside large documents to simplify navigation. Today’s world wants to be able to get the information quickly. Internal links can help you meet these goals. 1. Select some text at a place in the document that you would like to create a link to, then add an anchor to link to like this: The id attribute of an anchor element specifies a location in the document that we link to shortly. All id attributes in a document must be unique. 2. Next select the text that you would like to create as a link to the location created above. Go To Book Mark 8 Internal Links

Destination Anchors Example: Linking and Navigation URLs Source Anchors Destination Anchors Examples

Source Anchors Example: This page covers the following topics: URLs Source Anchors Destination Anchors Examples

 LINK - standard link - to a page the visitor hasn't been to yet. (standard color is blue - #0000FF). VLINK - visited link - to a page the visitor has been to before. (standard color is purple - #800080). ALINK - active link - the color of the link when the mouse is on it. (standard color is red - #FF0000). If the programmer what to change the color  Click here to go to yahoo. 11 More on LINKs

On clicking links, a new is opened in your default program, ready for you to send an to that address. E.g. Example: For support us 12 Linking to Addresses

 Some less trustworthy inhabitants of the Web use little programs to automatically search web sites for addresses. After they have found addresses on web sites, they will start sending spam (junk mail) to those addresses.

❑ Use an form instead so that visitors fill in a form on your web site to send you an . Once you have received the mail, you can then reply as normal because automated programs do not use contact forms to collect addresses. Use of an form requires either a CGI script or a server-side scripting language such as ASP.net, JSP, PHP, Cold Fusion, or Ruby. provides an example of an form. ❑ Write your address into the page using JavaScript. The idea behind this technique is that the programs that scour the Web for addresses cannot read the JavaScript version of an address.