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

Slides:



Advertisements
Similar presentations
Cascading Style Sheets
Advertisements

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.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Copyright (c) 2009 Prentice-Hall. All rights reserved.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
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 14 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 8 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 14 Key Concepts 1 Copyright © Terry Felke-Morris.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
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.
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 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
HTML.
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.
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
Headings are defined with the to tags. defines the largest heading. defines the smallest heading. Note: Browsers automatically add an empty line before.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 14 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.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
2.4. Choose and configure HTML5 tags to organize content and forms Choose and configure HTML5 tags for input and validation. Building the User Interface.
CSS Layout Cascading Style Sheets. Lesson Overview  In this lesson, we’ll cover:  Brief CSS review  Creating sections with the tag  Creating inline.
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.
Web Development & Design Foundations with HTML5 7th Edition
Web Development & Design Foundations with XHTML
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 8th 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
6 Layout.
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with H T M L 5
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
HTML 5 SEMANTIC ELEMENTS.
Web Development & Design Foundations with XHTML
Web Development & Design Foundations with HTML5
School of Business Administration
Presentation transcript:

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

DISPLAY PROPERTY  Configures how and if an element is displayed  display: none;  The element will not be displayed.  display: block;  The element is rendered as a block element – even if it is actually an inline element, such as a hyperlink.  display: inline;  The element will be rendered as an inline element – even if it is actually a block element – such as a.  You’ll work with the display property later in the chapter. 2

Copyright © Terry Felke-Morris DECIDING TO CONFIGURE A CLASS OR ID  Configure a class:  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. 3

Copyright © Terry Felke-Morris CHOOSING A NAME FOR A CLASS OR AN ID A class or id name should be descriptive of the purpose: ◦ such as nav, news, footer, etc. ◦ Bad choice for a name: redText, bolded, blueborder, etc. The the 10 most commonly used class names are: footer, menu, title, small, text, content, header, nav, copyright, and button Source: 4

Copyright © Terry Felke-Morris CSS DEBUGGING TIPS  Manually check syntax errors  Use W3C CSS Validator to check syntax errors   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! 5

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 6.5  file:///J:/INF286/chapter6/starter4.html file:///J:/INF286/chapter6/starter4.html  file:///J:/INF286/chapter6/practice/index.html file:///J:/INF286/chapter6/practice/index.html 6

Copyright © Terry Felke-Morris HTML5 STRUCTURAL ELEMENTS  Header Element  contains the headings of either a web page document or an area in the document such as a section or article.  Hgroup Element  contains two or more heading elements (h1, h2, and so on) 7

Copyright © Terry Felke-Morris HTML5 STRUCTURAL ELEMENTS  Header Element  Hgroup Element Example: Lighthouse Island Bistro the best coffee on the coast 8

Copyright © Terry Felke-Morris MORE HTML5 ELEMENTS  Nav Element  contains a section of navigation hyperlinks  block display  Footer Element  contains the footer content of a web page or specific area (such as a section or article) on a web page  block display  Aside Element  contains a sidebar, a note, or other tangential content  block display 9

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 6.6  file:///J:/INF286/chapter6/structure/index.html file:///J:/INF286/chapter6/structure/index.html 10

Copyright © Terry Felke-Morris MORE HTML5 ELEMENTS  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  block display  Time Element  represents a date or a time  could be useful to date articles or blog posts  inline display 11

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 6.7  file:///J:/INF286/chapter6/blog/index.html file:///J:/INF286/chapter6/blog/index.html 12

Copyright © Terry Felke-Morris PRIME PROPERTIES  file:///J:/INF286/Prime/Chapter6/index.html file:///J:/INF286/Prime/Chapter6/index.html  file:///J:/INF286/Prime/Chapter6HTML5/index.html file:///J:/INF286/Prime/Chapter6HTML5/index.html 13