Web Development & Design Foundations with HTML5 8th Edition

Slides:



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

Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Today CSS HTML A project.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 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.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 7 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.
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.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
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.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
CA Professional Web Site Development Class 23 - CSS Positioning, Image Replacement & Print Styles.
Web Technologies Website Development Trade & Industrial Education
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
18 People Surveyed HTML (HyperText Markup Language) HTML “tags” Describes structure Building blocks Headings, paragraphs, lists, links, images, quotes,
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.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 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.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
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 HTML5 7th Edition
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 8th Edition
Web Development & Design Foundations with HTML5
Cascading Style Sheets (Layout)
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 7th Edition
Chapter 7 Page Layout Basics Key Concepts
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5
Chapter 8 More on Links, Layout, and Mobile Key Concepts
Basics of Web Design Chapter 7 Page Layout Basics Key Concepts
Cascading Style Sheets
Web Development & Design Foundations with HTML5 7th Edition
DynamicHTML Cascading Style Sheet Internet Technology.
Chap 7 Abs/rel hyperlinks Frag id Sprites (Student presentation)
Chap 7 Abs/rel hyperlinks Frag id Sprites (Student presentation)
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with H T M L 5
DynamicHTML Cascading Style Sheet Internet Technology.
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
Web Development & Design Foundations with H T M L 5
Chapter 7 Absolute/relative hyperlinks Frag id 3-column site
CSS.
Web Development & Design Foundations with HTML5
Web Development & Design Foundations with HTML5
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Concepts for fluid layout
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Presentation transcript:

Web Development & Design Foundations with HTML5 8th Edition Chapter 7 Key Concepts Copyright © Terry Felke-Morris

More on Relative Linking Relative links from the Home page: index.html <a href="contact.html">Contact</a> <a href="rooms/canyon.html">Canyon</a> <a href="../index.html">Home</a> <a href="../events/weekend.html">Weekend</a> Relative links from the Canyon page: rooms/canyon.html

Hands-on practice 7.1 (page 309) chapter7/7.1/index.html

HTML Linking to Fragment Identifiers A link to a part of a web page Also called named fragments, fragment ids Two components: The element that identifies the named fragment of a web page. This requires the id attribute. <div id=“top”> ….. </div> 2. The anchor tag that links to the named fragment of a web page. This uses the href attribute. <a href=“#top”>Back to Top</a> Note the use of the # in the anchor tag!

Hands-on practice 7.2 (page 311) chapter7/starter1.html chapter7/7.2/favorites.html

Landmark Roles with ARIA Accessible Rich Internet Applications (ARIA) Landmark Roles banner (a header/logo area) navigation (a collection of navigation elements) main (the main content of a document) complementary (a supporting part of the web page document, designed to be complementary to the main content ) contentinfo (an area that contains information about the content such as copyright ) form (an area that contains a form) search (an area of a web page that provides search functionality) Example: <header role=“banner”>

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. <a href="http://yahoo.com" target="_blank">Yahoo!</a>

Hands-on practice 7.3 (page 313) chapter7/starter1.html chapter7/7.3/target.html

HTML5 Block Anchor Configure block display elements within a hyperlink <a href="http://www.w3.org/TR/html-markup"> <h1>HTML5 Reference</h1> <p>Bookmark this site for a handy HTML5 reference.</p> </a>

Block anchor chapter7/block.html

Telephone & Text Message Hyperlinks Telephone Scheme <a href="tel:888-555-5555">Call 888-555-5555</a> Many mobile browsers will initiate a phone call when the hyperlink is clicked. SMS Scheme <a href="sms:888-555-5555">Text 888-555-5555</a> Many mobile browsers will initiate a text message to the phone number when the hyperlink is clicked.

CSS Sprites Sprite an image file that contains multiple small graphics advantage: saves download time

Hands-on practice 7.4 (pages 314-5) chapter7\starter2.html chapter7\7.4\ndex.html

Hands-on practice 7.4 (page 302) chapter7\starter2.html chapter7\7.4\sprites.gif chapter7\7.4\ndex.html

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.

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; Three Column Layout

Hands-on practice 7.5 (page 304) chapter7\starters chapter7\7.5\index.html

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 <link > elements. <link rel="stylesheet" href="wildflower.css" type="text/css" media="screen"> <link rel="stylesheet" href="wildflowerprint.css" type="text/css" media="print">

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) ") "; }

Hands-on practice 7.6 (page 313) chapter7/7.5 chapter7/7.6/index.html Print preview