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.

Slides:



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

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.
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,
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.
Lecture Navigation. What is Navigation? Hypertext – creates links Process of linking from a page to: –Another page in the same website –Another page on.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
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.
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.
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.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
Review: How do you change the border color of an image?
HTML Essentials HyperText. Why HyperText ? Hypertext is text or pictures which reference other pages which the reader can immediately access Hypertext.
HTML (Hypertext Markup Language ). Hyperlinks Hyperlinks from text to other sites Write the link, which is visible at the screen Example: Hyperlink to.
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.
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.
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.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
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.
Web Site Design & Management Class Two. Agenda Attendance Questionnaire Setup/task Homework Review Screenshots Lists/Nested Lists Home Page Links Images.
Web Design (2) Brackets - introduction. Brackets Brackets is a web design code editor It is an open-source project initiated by Adobe (creator of Dreamweaver)
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.
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.
Web Design (8) Images (2). My Holiday Photos An exercise in adding and linking images. Create a new website folder calling it ‘My Holiday Photos’. In.
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)
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.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
Lesson 6 Links. Creating Folders  For every web site/page, you need to create a separate folder  The computer cannot find links if they are not stored.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Hyperlink ● Anchor tag and its attributes ● Four Types of URL ─ ─ Absolute addressing ─ Relative addressing ─ Intrapage ● Attributes -- link, vlink,
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Creating Web Pages with Links, Images, and Embedded Style Sheets
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.
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.
HTML Links CS 1150 Spring 2017.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Internal and External Links
Internal and External Links
Hyperlink Anchor tag and its attributes Four Types of URL
Creating Links.
Web Design and Development
Hyperlink Anchor tag and its attributes Four Types of Hyperlink
Hyperlink Anchor tag and its attributes Four Types of URL
Creating Links.
Dreamweaver Basics.
Lesson 4: Hyperlinks.
Enhancing Your Web Site—Adding Links Web Page
HTML LINKS
4.01 How Web Pages Work.
IDT Links in HTML What you need to know….
HTML Links CS 1150 Fall 2016.
Creating Links.
Presentation transcript:

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 “My Web Sites”. And then, within that, create a new ‘Navigation’ website folder.

Now … Move into your ‘navigation’ website folder a copy of the “blank.html” file, (hold down Ctrl when moving the file) which is in your “Web Site Resources” folder and rename the “blank.html” file, “index.html”

Next …. Move into your website folder another copy of the “blank.html” file, and rename it, “about.html” Move into your website folder yet another copy of the “blank.html” file, and rename it, “dickens.html”

Now, back to Brackets! Select ‘Open Folder’ from the drop-down box and find your ‘navigation’ website folder in Windows Explorer Now, below your ‘navigation’ website name in the drop-down box should now be both the ‘index.html’ file and your new ‘about.html’ file

Moving between web pages To achieve this, we need ‘hyperlinks’ Hyperlink - a link from a hypertext document to another location, activated by clicking on a highlighted word or image. Hyperlinks use the anchor tag:

The Anchor Tag In ‘index.html’ enter this code: About Us In Live Preview, what do you notice about the inner text (‘About Us’)? About Us (blue and underlined) (About Us will turn purple if the linked has already been clicked.)

href About Us If is a tag, what is ‘href’ ? A tag attribute The href attribute tells the browser where to navigate to if the hyperlink is clicked on.

Moving back About Us This hyperlink on your index.html page should take the user to your about.html page….. But how to move back from the about.html page to the index.html page? Now experiment with code to achieve this! Home

Other uses of hyperlinks To visit other web sites, for example: Chepstow U3A Web Design Group To send an , for example: (Recipient)

In order to retain the current page By default a hyperlink navigates away from the current page in order to open up the target page (URL (Universal Resource Locator) destination). It is possible to change this using the target attribute within the Anchor tag. target= “_blank” Chepstow U3A Web Design Group

An exercise On the about.html page enter the hyperlink to the Web Design Group website. Chepstow U3A Web Design Group Try this without the target attribute And see what happens in Live Preview. Then do the same with the target attribute. target= “_blank” Do you see the difference?!

Exercise Now create hyperlinks between the 3 webpages: home, about and dickens. Check validation and Live preview.

In your website there are now 2 types of URL Absolute URLs which provide the full URL for the document, including the protocol ( domain name & pathname. Absolute URLs are necessary when pointing to a document on the Web (i.e. not on your own server) Relative URLs which describe the pathname to a file relative to the current document; here protocol and domain name are unnecessary. Relative URLs are used when linking to another document on your own site