Tutorial 2 Developing a Web Site. XP Objectives Learn how to storyboard various Web site structures Create links among documents in a Web site Understand.

Slides:



Advertisements
Similar presentations
Web Development & Design Foundations with XHTML
Advertisements

CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 2: Developing a Web Site.
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.
New Perspectives on Creating Web Pages with HTML
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.
FrontPage 2003 Web Fundamentals Web Site Design. World Wide Web System based on Hypertext Transfer Protocol (HTTP) Provides access to information Information.
Tutorial 2 Developing a Basic Web Site
Web Structure Create Links Using HTML. 2 Objectives List different types of Web site structures and how to employ them Create element ids to mark specific.
1 Linking Web Pages Why is Hypertext Hyper? Storyboarding Page Links (Site Map) Path to Files Various Links Click Here :( Page Footers.
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.
1 Linking Web Pages Why is Hypertext Hyper? Storyboarding Page Links (Site Map) Sequential and Indexed-Sequential Designs Hierarchical Design Custom Design.
Chapter 2: Application layer  2.1 Web, HTTP and HTML (We will continue…)  2.2 FTP  2.3 SMTP 9/22/2009 Lecture 7, MAT 279, Fall
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.
Developing a Basic Web Page with HTML
XP 1 Developing a Basic Web Site Creating a Chemistry Web Site Tutorial 2.
XP Tutorial 2New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Developing a Basic Web Site Creating a Chemistry Web Site Tutorial 2.
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.
Getting Started with HTML5
Tutorial 2 Developing a Web Site
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
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.
XP 1 HTML: The Language of the Web A Web page is a text file written in a language called Hypertext Markup Language. A markup language is a language that.
Tutorial 2 Developing a Basic Web Site. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn how to storyboard various.
XP Creating Web Pages with HTML, 3e1 WEB DESIGN & MANAGEMENT CLASS 5 - 2/26/02 - Agenda Homework discussions FTP issues – If you have FTP issues, please.
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.
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Hyperlinks. Linking pages…Hyperlinks 2 Lecture 8  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page.
XP 1 New Perspectives on Creating Web Pages with HTML Adding Hypertext Links to a Web Page.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 4: Creating Hyperlinks Kelly L.
XHTML Louise Soe updated September 2009.
Developing a Web Site. Web Site Navigational Structures A storyboard is a diagram of a Web site’s structure, showing all the pages in the site and indicating.
Tutorial 2 Developing a Basic Web Site. XP Objectives Learn how to storyboard various Web site structures Create links among documents in a Web site Understand.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML, CSS, and XML Tutorial 2 Developing a Web Site.
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.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 6: Links.
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.
Tutorial 2 Developing a Basic Web Site. XP Objectives Learn how to storyboard various Web site structures Create links among documents in a Web site Understand.
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
Adding Links Learning Web Design: Chapter 6. Lesson Overview Using the anchor tag Linking to other pages with relative or absolute pathnames Linking to.
Developing a Basic Web Site
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.
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.
XP 1 Developing a Basic Web Site Creating a Chemistry Web Site Tutorial 2.
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 BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
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.
Basics.  An address for a Web site is its domain name  URL (Uniform Resource Locator)  Specifies the precise location of a resource on the Internet.
XP INFT 140 – Chapter 2 1 Developing a Basic Web Site Creating a Chemistry Web Site.
Website design and structure. A Website is a collection of webpages that are linked together. Webpages contain text, graphics, sound and video clips.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML Links HTML uses a hyperlink to another document on the Web.
Developing a Basic Web Site Maureen Smith Professor, Saddleback College Tutorial 2.
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.
For the World Wide Web.  Gary Hayward is an amateur photographer and digital camera enthusiast. He has decided to create a website named CAMshots, where.
XP 1 Charles Edeki AIU Live Chat for Unit 2 ITC0381.
Lecture 8 Introduction to Web Programming. Announcement  First In-class exam will be on Oct. 10 (Wednesday)  2.50pm – 4.05pm  Exam will cover all materials.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
Lecture 6, MAT 279, Fall HTML Introduction (cont.) 9/17/2009.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
Developing a Basic Web Site
Navigating The World Wide Web
CNIT 131 HTML5 – Anchor/Link.
HTML Introduction Lecture 8.
Presentation transcript:

Tutorial 2 Developing a Web Site

XP Objectives Learn how to storyboard various Web site structures Create links among documents in a Web site Understand relative and absolute folder paths Work with the base element Mark a location with the id attribute Create a link to an id Mark an image as a link New Perspectives on HTML and XHTML, Comprehensive2

XP Objectives Create an image map from an inline image Remove an image border Understand URLs Link to a site on the Web Link to an FTP site Link to an address Work with hypertext attributes Work with metadata New Perspectives on HTML and XHTML, Comprehensive3

XP Working with Web Site Structures A storyboard is a diagram of a Web site’s structure, showing all the pages in the site and indicating how they are linked together It is important to storyboard your Web site before you start creating your pages in order to determine which structure works best for the type of information the site contains A well-designed structure can ensure that users will be able to navigate the site without getting lost or missing important information New Perspectives on HTML and XHTML, Comprehensive4

XP Linear Structures In a linear structure, each page is linked with the pages that follow and precede it in an ordered chain Linear structure works best for Web pages with a clearly defined order In an augmented linear structure, each page contains an additional link back to an opening page New Perspectives on HTML and XHTML, Comprehensive5

XP Linear Structures New Perspectives on HTML and XHTML, Comprehensive6 A linear structure An augmented linear structure

XP Hierarchical Structures In the hierarchical structure, the pages are linked going from the home page down to more specific pages Users can easily move from general to specific and back again Within this structure, a user can move quickly to a specific scene within the page, bypassing the need to move through each scene in the play New Perspectives on HTML and XHTML, Comprehensive7

XP Hierarchical Structures New Perspectives on HTML and XHTML, Comprehensive8

XP Mixed Structures As Web sites become larger and more complex, you often need to use a combination of several different structures The overall form can be hierarchical, allowing the user to move from general to specific; however, the links also allow users to move through the site in a linear fashion A site index is a page containing an outline of the entire site and its contents New Perspectives on HTML and XHTML, Comprehensive9

XP Mixed Structures New Perspectives on HTML and XHTML, Comprehensive10

XP Web Site with No Coherent Structure New Perspectives on HTML and XHTML, Comprehensive11

XP Protected Web Site Structures Sections of most commercial Web sites are off- limits except to subscribers and registered customers New Perspectives on HTML and XHTML, Comprehensive12

XP Creating a Hypertext Link New Perspectives on HTML and XHTML, Comprehensive13

XP Creating a Hypertext Link To link to a page, you specify the name of the file using the href attribute of the tag (anchor tag) – content Where reference is the location being linked to and content is the document content that is being marked as a link. For example: – Home – The word “Home” will be underlined, providing a visual clue to the user that the text is linked to another document (home.htm) New Perspectives on HTML and XHTML, Comprehensive14

XP Creating a Hypertext Link Filenames are case sensitive on some operating systems, including the UNIX and Macintosh, but not on others The current standard is to use lowercase filenames for all files on a Website and to avoid special characters such as blanks and slashes You should also keep filenames short to avoid typing errors New Perspectives on HTML and XHTML, Comprehensive15

XP Creating Hypertext Links New Perspectives on HTML and XHTML, Comprehensive16

XP Specifying a Folder Path New Perspectives on HTML and XHTML, Comprehensive17

XP Specifying a Folder Path To create a link to a file located in a different folder than the current document, you must specify the file’s location, or path HTML supports two kinds of paths: absolute and relative. New Perspectives on HTML and XHTML, Comprehensive18

XP Linking to Documents in Other Folders An absolute path specifies a file’s precise location within a computer’s entire folder structure. Syntax of an absolute path: /folder1/folder2/folder3/file Where folder1 is the topmost folder in the computer’s folder tree, followed by folder2, folder3, and so forth. New Perspectives on HTML and XHTML, Comprehensive19

XP Absolute Paths tip1 New Perspectives on HTML and XHTML, Comprehensive20

XP Absolute Paths If files are located on different drives as well as in different folders, you must include the driver letter in the form /drive|/folder1/folder2/folder3/file For example /C|/cameshots/pages/tips/tips1.html Note: The drive letter C does NOT have to be included if the documents are located on the same hard drive New Perspectives on HTML and XHTML, Comprehensive21

XP Relative Paths A relative path specifies a file’s location in relation to the location of the current document. If the file is in the same location as the current document, you do not have to specify the folder name. If the file is in a subfolder of the current document, you have to include the name of the subfolder folder/file New Perspectives on HTML and XHTML, Comprehensive22

XP Relative Paths tip1 New Perspectives on HTML and XHTML, Comprehensive23

XP Relative Paths If you want to go one level up the folder tree, you start the relative path with a double period (..) and then provide the name of the file.../file To specify a different folder on the same level, known as a sibling folder, you move up the folder tree using the double period (..) and then down the tree using the name of the sibling folder.../folder/file You should almost always use relative paths in your links. New Perspectives on HTML and XHTML, Comprehensive24

XP Specifying a Folder Path New Perspectives on HTML and XHTML, Comprehensive25

XP Linking to Locations within Documents To jump to a specific location within a document, you first need to mark that location One way to identify elements in an HTML document is to use the id attribute The id element uses the syntax: id=“id ” where id is the id name assigned to the element. H New Perspectives on HTML and XHTML, Comprehensive26

XP Using the id Attribute Id names must be unique, if you assign the same id to more than one element on your Web page, the browser uses the first occurrence of the id name. Id names are not case sensitive. New Perspectives on HTML and XHTML, Comprehensive27

XP Linking to an id Once you’ve marked an element using the id attribute, you can create a hypertext link to that element using the hypertext link content For example to create a link to h2 heading for the letter A in the glossary document, you would enter the following code: A New Perspectives on HTML and XHTML, Comprehensive28

XP Using the id Attribute for glossary.htm Glossary [ A ] [ B ] [ C ] [ D ] [ E ] [ F ] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z] New Perspectives on HTML and XHTML, Comprehensive29

XP Linking to Locations within Documents New Perspectives on HTML and XHTML, Comprehensive30

XP The id Attribute (top of page) Use the id attribute to mark the top of the page … etc. …. Much more follows … Return to Top ⇑ CAMshots ››› Advice and News from the World of Digital Photography by Patrick Healy New Perspectives on HTML and XHTML, Comprehensive31

XP Creating Links between Documents To create a link to a specific location in another file, enter the code content where reference is a reference to an HTML or XHTML file and id is the id of an element marked within that file ”D” terms in the Glossary New Perspectives on HTML and XHTML, Comprehensive32

XP Creating Links between Documents New Perspectives on HTML and XHTML, Comprehensive33

XP Working with Linked Images & Image Maps A standard practice on the Web is to turn the Web site’s logo into a hypertext link pointing to the home page HTML also allows you to divide an image into different zones, or hotspots, each linked to a different destination New Perspectives on HTML and XHTML, Comprehensive34

XP Working with Linked Images & Image Maps New Perspectives on HTML and XHTML, Comprehensive35

XP Removing the border from an inline image To remove a border from an inline image, add the following attribute to the tag: style = “border-width:0” Example: New Perspectives on HTML and XHTML, Comprehensive36

XP Introducing URLs To create a link to a resource on the Internet, you need to know its URL A Uniform Resource Locator (URL) specifies the precise location of a resource on the Internet A protocol is a set of rules defining how information is exchanged between two resources New Perspectives on HTML and XHTML, Comprehensive37

XP Introducing URLs Your Web browser communicates with Web servers using the Hypertext Transfer Protocol (HTTP) The URLs for all Web pages must start with the scheme “http” Other Internet resources use different protocols and have different scheme names New Perspectives on HTML and XHTML, Comprehensive38

XP Linking to a Web Site New Perspectives on HTML and XHTML, Comprehensive39 To create a link to a Web site from your document, use the URL of the Web site as the value of the href attribute. Apogee Photo

XP Linking to an Address To create a hypertext link to an address, use the following syntax: content Exampel: us New Perspectives on HTML and XHTML, Comprehensive40

XP Tutorial- 2 Summary Create a Web site with several linked pages Storyboarding and complex Web structures Creating Web pages linked together Links to locations within documents and from another document Inline images and image maps New Perspectives on HTML and XHTML, Comprehensive41