Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.

Slides:



Advertisements
Similar presentations
Coding a Responsive HTML
Advertisements

Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with XHTML
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 2 HTML Basics Key Concepts
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 7 Page Layout Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 9 Key Concepts.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
1 XHTML continued Use the anchor tag to link from page to pageUse the anchor tag to link from page to page Create absolute and relative linksCreate absolute.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 8 More on Links, Layout, and Mobile Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 5 Key Concepts 1 Copyright © Terry Felke-Morris.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
Web Development & Design Foundations with XHTML Chapter 6 Key Concepts.
Chapter 8 More on Links, Layout, and Mobile Copyright © 2013 Terry Ann Morris, Ed.D revised by Bill Pegram, 9/24/
CIS 1310 – HTML & CSS 7 More on Links, Layout & Mobile.
Page Layout & Mobile Web Using columns, grid systems, etc… to layout sites for desktops and mobile.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with HTML5 7th Edition
Web Technologies Website Development Trade & Industrial Education
Web Development & Design Foundations with XHTML
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Website Development with Dreamweaver
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Jozef Goetz, © Pearson Education Copyright (c) 2009 Prentice-Hall. All rights reserved. expanded by J. Goetz, 2012.
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.
1 Web Developer & Design Foundations with XHTML Chapter 3 Key Concepts.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 5 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with HTML5 7th Edition
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with XHTML Chapter 6 Key Concepts.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2- part 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Jozef Goetz, Credits:© Pearson Education Copyright (c) 2009 Prentice-Hall. All rights reserved. expanded by J. Goetz, 2015.
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
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
Web Development & Design Foundations with HTML5
School of Business Administration
Web Development & Design Foundations with XHTML
Chapter 7 Absolute/relative hyperlinks Frag id 3-column site
Web Development & Design Foundations with HTML5 8th Edition
Concepts for fluid layout
Web Development & Design Foundations with HTML5
7 More on Links, Layout & Mobile.
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 7th Edition
Web Development & Design Foundations with HTML5
Chapter 8 More on Links, Layout, and Mobile Key Concepts
Basics of Web Design Chapter 8 More on Links, Layout, and Mobile Key Concepts Copyright © 2014 Terry Ann Morris, Ed.D.
Web Development & Design Foundations with HTML5
Chapter 7 Absolute/relative hyperlinks Frag id 3-column site
Web Development & Design Foundations with XHTML
Web Development & Design Foundations with HTML5
Web Development & Design Foundations with HTML5
Concepts for fluid layout
Presentation transcript:

Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris

LEARNING OUTCOMES In this chapter, you will learn how to...  Code relative hyperlinks to web pages in folders within a website  Configure a hyperlink to a named fragment internal to a web page  Configure images with CSS sprites  Configure a three-column page layout using CSS  Configure CSS for printing  Configure CSS for mobile display  Utilize CSS3 media queries to target mobile devices 2

Copyright © Terry Felke-Morris MORE ON RELATIVE LINKING Contact Collars Home Dog Bathing 3 Relative links from the home page: index.html

Copyright © Terry Felke-Morris OPENING A LINK IN A NEW BROWSER WINDOW  The target attribute on the anchor element opens a link in a new browser window or new browser tab. Yahoo! 4

Copyright © Terry Felke-Morris HTML LINKING TO FRAGMENT IDENTIFIERS A link to a part of a web page Also called named fragments, fragment ids Two components: 1. The element that identifies the named fragment of a web page. This requires the id attribute. ….. 2. The anchor tag that links to the named fragment of a web page. This uses the href attribute. Back to Top 5 Note the use of the # in the anchor tag!

Copyright © Terry Felke-Morris HTML5 BLOCK ANCHOR  Configure block display elements within a hyperlink HTML5 Reference Bookmark this site for a handy HTML5 reference. 6

Copyright © Terry Felke-Morris TELEPHONE & TEXT MESSAGE HYPERLINKS  Telephone Scheme Call Many mobile browsers will initiate a phone call when the hyperlink is clicked.  SMS Scheme Text Many mobile browsers will initiate a text message to the phone number when the hyperlink is clicked. 7

Copyright © Terry Felke-Morris CSS SPRITES  Sprite  an image file that contains multiple small graphics  advantage: saves download time 8

Copyright © Terry Felke-Morris CHECKPOINT 1. Describe a reason to organize the files in a website using folders and subfolders. 2. Which attribute configures a hyperlink to open the file in a new browser window or tab? 3. State an advantage of using CSS sprites in a website.

Copyright © Terry Felke-Morris THREE COLUMN PAGE LAYOUT A common web page layout consists of a header across the top of the page with three columns below: navigation, content, and sidebar. 10

Copyright © Terry Felke-Morris THREE COLUMN LAYOUT  container sets default background color, text color, font typeface, and a minimum width  Left-column navigation  float: left; width:150px;  Right-column content  float: right; width: 200px;  Center column  Uses the remaining screen room available room after the floating columns display  margin: 0 210px 0 160px;  Footer – clears the float  clear: both; 11

Copyright © Terry Felke-Morris CSS STYLING FOR PRINT  Create an external style sheet with the configurations for browser display.  Create a second external style sheet with the configurations for printing.  Connect both of the external style sheets to the web page using two elements. 12

Copyright © Terry Felke-Morris PRINT STYLING BEST PRACTICES  Hide non-essential content Example: #nav { display: none; }  Configure font size and color for printing  Use pt font sizes, use dark text color  Control page breaks Example:. newpage { page-break-before: always; }  Print URLs for hyperlinks Example: #sidebar a:after { content: " (" attr(href) ") "; } 13

Copyright © Terry Felke-Morris MOBILE WEB DESIGN BEST PRACTICES eMarketer.com predicts million mobile Internet users by 2013 ( Three Approaches to Mobile Web: ◦ Develop a new mobile site with a.mobi TLD ◦ Create a separate website hosted within your current domain targeted for mobile users ◦ Use CSS to configure your current website for display on both mobile and desktop devices.

Copyright © Terry Felke-Morris MOBILE WEB LIMITATIONS  Small Screen Size  Low bandwidth  Limited fonts  Limited color  Awkward controls  Lack of Flash support  Limited processor and memory  Cost per kilobyte

Copyright © Terry Felke-Morris DESIGN TECHNIQUES FOR MOBILE WEB Single column design Avoid floats, tables, frames Descriptive page title Descriptive heading tags Optimize images Descriptive alt text for images Eliminate unneeded images Navigation in lists Em or percentage font size units Common font typefaces Good contrast between text and background colors Provide “Skip to Content” hyperlink Provide “Back to Top” hyperlink

Copyright © Terry Felke-Morris VIEWPORT META TAG  Default action for most mobile devices is to zoom out and scale the web page  Viewport Meta Tag  Created as an Apple extension to configure display on mobile devices  Configures width and initial scale of browser viewport 17

Copyright © Terry Felke-Morris CSS3 MEDIA QUERIES  Media Query  Determines the capability of the mobile device, such as screen resolution  Directs the browser to styles configured specifically for those capabilities  Example: 18

Copyright © Terry Felke-Morris CHECKPOINT 1. Describe a design consideration when configuring a web page for mobile display. 2. True of False. The media="handheld" attribute reliably targets mobile devices. 19

Copyright © Terry Felke-Morris SUMMARY  This chapter introduced you to a variety of topics related to hyperlinks, page layout, and designing for the mobile web. 20