LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 6: Links.

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)
HTML Basics Customizing your site using the basics of HTML.
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links
External Site Links by Awnya Boam. Links are found… …almost everywhere on the internet. They allow users to travel from one site to another.
16 HTML Tables and Frames Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based.
Links and Comments.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
CIS101 Introduction to Computing HTML Project Two.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
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.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
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.
Chapter 14 Introduction to HTML
The Internet & The World Wide Web Notes
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 12: Building Responsive Webpages.
Designing a Classroom Web Site Using NVU Beginning Level.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 2: Working with Webpage Files.
Online Chapter 1 4 th Edition.  Review elements  Whitespace handling  Rule structure  Linking to an external style sheet  Alternate Style Sheets.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
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.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
Web Technologies Website Development Trade & Industrial Education
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.
Chapter 2 Developing a Web Page. Chapter 2 Lessons Introduction 1.Create head content and set page properties 2.Create, import, and format text 3.Add.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
Hyperlinks. Linking pages…Hyperlinks 2 Lecture 8  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page.
Website Development with Dreamweaver
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 1: Webpage Building Blocks.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Design and Construction of Accessible Web Sites Michael Burks Chairman Internet Society SIG For Internet Accessibility for People with Disabilities June.
Creating Web Pages with Links, Images, and Formatted Text
Web Page Design. Some Terms Cascading Style Sheet, (CSS) –a style sheet language used to describe the look and formatting of a document written in html;
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
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.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
U NDERSTAND THE W EB AND D IGITAL C OMMUNICATIONS P ATHWAY 4.02 U NDERSTAND HOW W EBPAGES ARE CREATED AND USED.
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.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 8: Working with Style Sheets.
Tutorial 3 Adding and Formatting Text with CSS Styles.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
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.
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.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Creating Web Pages with Links, Images, and Embedded Style Sheets
COMP 143 Web Development with Adobe Dreamweaver CC.
Lecture 6, MAT 279, Fall HTML Introduction (cont.) 9/17/2009.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
HTML Links CS 1150 Spring 2017.
>> HTML: Tags – Hyperlink, Media, Lists
Objective % Select and utilize tools to design and develop websites.
Lecture 3 Sarsenova Zhibek.
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Objective % Select and utilize tools to design and develop websites.
Inserting and Working with Links
HTML Links CS 1150 Fall 2016.
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Presentation transcript:

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 6: Links

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Objectives Explain the importance of links to the web. Identify a link's destination and label. Create a link to another webpage. Use block-level links to wrap a link around an element or group of elements. Use a target attribute to open a link in a new window or tab. Create anchors. Target specific anchors. Link thumbnail images.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Links Links are the lifeblood of the web. Without links, every page would just exist on its own, completely disconnected from all the others. Most links connect to other webpages or to specific locations on other webpages.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Destinations and Labels A link has two main parts: a destination and a label. Destinations: –Defined by a URL. –Only visible to the visitor in browser’s status bar. Label: –What visitors see or hear and then activate to reach the destination. –Can be text, image, or both. –Label text appears underlined and in blue.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Creating a Link to Another Webpage If you have more than one webpage, you should create links between them. You can also link to pages on other sites, whether your own or someone else’s.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE To Create a Link to Another Webpage Type –page.html is the URL of the destination webpage. Type the label text. –You can also label it with an img element. Type to complete the definition of the link.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Linking Blocks of Content Block-level links are new with HTML5. –Previous versions only allowed linking text, images, and inline elements, but supported by older browsers anyway. Block-level links wrap a link around most elements or groups of elements. –Use on paragraphs, lists, entire articles, and sections. –Exceptions include interactive content: Links, audio, video, form elements, and iframes.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Improving Accessibility with Block-Level Links To improve accessibility: –Put most important content at beginning of link. –Don’t put too much content in one link. –Narrow the focus of the link to the most relevant content. –Stick with simpler, traditional links most of the time. –Accessibility issues are likely temporary.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Navigating Links with a Keyboard Press Tab to move to the next link, form control, or image map link in the HTML code. –Shift-Tab takes you to the previous link. The CSS layout may arrange items differently. HTML’s tab index attribute can change the tabbing sequence. Not recommended because it can disorient screen readers. Mark content so tabbing sequence is logical. –Test by tabbing through pages and adjust HTML. –By default, Mac disables keyboard navigation.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Linking Tips To link to someone else’s website, use an absolute URL with the server, full path, and file name. To link to the default file for a directory, specify the path, but omit the file name. To link to a site’s default (home) page, omit the path. To link to webpages on your site, use a relative URL. Use all lowercase letters for URLs, unless page or directory name has uppercase letters.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Linking Tips Don’t make the link’s label too long. Don't use “Click here” as a label. To apply style properties to a block-level link, set display: block on the link in your style sheet. Image maps can add a link to one or more regions of a single image. A list of rel values is maintained at: Each page needs navigation to key sections of your site, including the homepage.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE How to Use (and Not Use) the Target Attribute Target attribute can open a link in a new window or tab, but it is considered bad practice. –Should be up to user, not HTML developer. –Risks confusing users when results don’t open in current window. –Assistive device users will have to negotiate to new window. Target attribute can also be used to open a link in an iframe, but it is also discouraged. –Code the target the same way, except match its value to the id of the iframe.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Creating and Linking to Anchors To link to a specific section of the webpage, create an anchor and reference the anchor in the link. –The href value that begins with # anchors to the element with the corresponding id (sans the #). –You may apply an id to any element, as long as any given id exists only once in a page. –FAQ pages are most common use for anchor links.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE To Create an Anchor Place cursor in start tag of element you wish user to jump to. Type id="anchor-name” –Use anchor-name text to internally identify that section of the webpage. –Be sure a space exists between the element’s name and the id. Example:.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE To Create a Link to an Anchor Type –“anchor-name” is the value of the destination’s id attribute. Type the label text. Type to complete the definition of the link.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Creating Other Types of Links Linking is not limited to other webpages. Create a link to any URL. –RSS feeds, files for download, and addresses. All links look the same. Unless the link wraps around a photo.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE To Create Other Types of Links Type <a href=“ Type the URL. –For a link to files on the web, type: –For address, type: –For a phone number, type: tel:+ (not preceded by followed by country code and phone number without dashes. Type ">. Type the label for the link. Type.

LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE Linking Thumbnail Images Create a photo gallery page with several thumbnails linked to larger versions. For large galleries, consider splitting thumbnails over more than one page. –Each image is a separate server request. Slows down page. –Around thumbnails per page is good. –Depends on number and size of other assets on the page. –Mobile devices typically load assets more slowly. Mark up list of thumbnails with an unordered list (ul).