Web Development & Design Foundations with HTML5 8th Edition

Slides:



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

Chapter 2 HTML Basics Key Concepts
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
HTML 5. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in The web has changed.
Neal Stublen A Basic Template  HTML doctype Much simpler than HTML4/XHTML  Title and meta content Again simpler than “Content-Type”
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
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/
Building the User Interface by Using HTML5: Organization, Input, and Validation Lesson 3.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
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.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML5 Sections Old structuring elements –body, div, address, blockquote –headings: h1, h2, h3, … –ul, ol, table New structuring elements –header, footer,
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.
>> HTML: Structure Elements. Elements in HTML are either Inline or Block. Block-level Elements – Begins on a new line – Occupy the whole width – Stacks.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
Web Development & Design Foundations with XHTML Chapter 6 Key Concepts.
Basic HTML Document Structure. Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create a formal.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Copyright © Terry Felke-Morris Web Development & Design Foundations with HTML5 8 th Edition CHAPTER 14 KEY CONCEPTS 1 Copyright.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
HTML5 Semantic
NEW HTML5 LAYOUT ELEMENTS Explain: Going to see markup typically used to create this kind.
WebD Introduction to CSS By Manik Rastogi.
HTML CS 4640 Programming Languages for Web Applications
Getting Started with CSS
Web Development & Design Foundations with HTML5 7th Edition
Web Development & Design Foundations with XHTML
Web Development & Design Foundations with HTML5
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 8th Edition
Introduction to HTML5.
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 7th Edition
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
Website Design 3
Basics of Web Design Chapter 7 Page Layout Basics Key Concepts
Basic HTML Document Structure
Web Development & Design Foundations with HTML5 7th Edition
6 Layout.
CSS Borders and Margins.
Web Development & Design Foundations with H T M L 5
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
CSS Debugging Tips Manually check syntax errors
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
HTML 5 SEMANTIC ELEMENTS.
Web Development & Design Foundations with XHTML
Web Development & Design Foundations with HTML5
School of Business Administration
Presentation transcript:

Web Development & Design Foundations with HTML5 8th Edition Chapter 6 Key Concepts

CSS Debugging Tips Manually check syntax errors Use W3C CSS Validator to check syntax errors http://jigsaw.w3.org/css-validator/ Configure temporary background colors Configure temporary borders Use CSS comments to find the unexpected /* the browser ignores this code */ Don’t expect your pages to look exactly the same in all browsers! Be patient!

HTML5 Structural Elements REVIEW Header Element block display; contains the headings of either a web page document or an area in the document such as a section or article Nav Element block display; contains a section of navigation hyperlinks Main Element block display; contains main page content Footer Element block display; contains the footer content of a web page or specific area (such as a section or article) on a web page

More HTML5 Elements Aside Element Section Element Article Element block display; contains a sidebar, a note, or other tangential content Section Element contains a “section” of a document, such as a chapter or topic block display Article Element contains an independent entry, such as a blog posting, comment, or e-zine article that could stand on its own Time Element represents a date or a time could be useful to date articles or blog posts inline display

Hands-on practice 6.10 (pages 282-4) chapter6/6.4/index.html chapter6/6.10/index.html

HTML5 Compatibility with Older Browsers CSS header, main, nav, footer, section, article, figure, figcaption, aside { display: block; } HTML5 Shim (aka HTML5 Shiv) <!--[if lt IE 9]> <script src=" http://html5shim.googlecode.com/svn/trunk/html5.js"> </script> <![endif]-->

Hands-on practice 6.11 (pages 285-6) chapter6/6.10/index.html chapter6/6.11/index.html

Deciding to Configure a class or id If the style may apply to more than one element on a page Use the . (dot) notation in the style sheet. Use the class attribute in the HTML. Configure an id: If the style is specific to only one element on a page Use the # notation in the style sheet. Use the id attribute in the HTML.