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

Slides:



Advertisements
Similar presentations
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 8: Image Techniques ©2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Advertisements

Chapter 6 More CSS Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Web Development & Design Foundations with XHTML Chapter 4 Key Concepts.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 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.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts.
CSS Color & Text Cascading Style Sheets. Advantages of CSS Typography and page layout can be better controlled Style is separate from structure Documents.
CIS 1310 – HTML & CSS 4 Visual Elements and Graphics.
Web Development & Design Foundations with HTML5
Basics of Web Design Chapter 6 More CSS Basics Key Concepts 1.
1 CS428 Web Engineering Lecture 10 Images, Tables, Forms, Border-Radius (CSS – V)
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Web Development & Design Foundations with HTML5
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 8: Image Techniques.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Images & Image Maps 16 th February. Images & Image Maps Web authors can add icons, logos and high impact images to their pages Images enhance web pages.
Web Development & Design Foundations with XHTML Chapter 4 Key Concepts.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 4 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.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 4 Key Concepts.
COMP213 – Web Interface Design
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML, CSS, and XML Tutorial 8 Enhancing a Web Site with Advanced CSS.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Unit I Applying Advanced Styling CSS. CSS3 can style many aspects that in the past required integration of images New features are not supported by all.
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.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 14: Enhancements and Effects with CSS3.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 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 5 Key Concepts 1 Copyright © Terry Felke-Morris.
Neal Stublen New Element Styling  html5shiv.js provided support in older IE browsers for new sectioning elements aside, header,
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Managing the Graphical Interface by Using CSS Lesson 7.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
WEB DESIGN PRINCIPLES Dale Blasingame School of Journalism & Mass Communication Texas State University.
Chapter 7.  Change body and link styles  Create a drop-down menu  Change color and font styles in the menu  Create a pop-up effect using CSS  Utilize.
Lecture 9: Extra Features and Web Design Tarik Booker CS 120 California State University, Los Angeles.
Web Design (17) CSS Box Element (2). ‘Box’ Web Site (1) Insert a navigation bar into the index.html file and create links to ‘index.html’, ‘pageone.html’
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with HTML5
Web Development & Design Foundations with XHTML
Web Development & Design Foundations with HTML5 8th Edition
Inserting and Working with Images
Web Development & Design Foundations with HTML5 8th Edition
Tutorial 4 Topic: CSS 3.0 Li Xu
Chapter 4 Visual Elements And Graphics Part II
Chapter 6 More CSS Basics Key Concepts
Web Development & Design Foundations with HTML5 7th Edition
Web Development & Design Foundations with HTML5 8th Edition
4 Visual Elements and Graphics.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
Basics of Web Design Chapter 5 Graphics & Text Styling Basics Key Concepts Copyright © 2018 Terry Ann Morris, Ed.D.
Box model, spacing, borders, backgrounds
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
Chapter 5 Graphics & Text Styling Basics Key Concepts
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with H T M L 5
Gradients.
Gradients.
Presentation transcript:

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

MORE ABOUT IMAGES  Image Map  Favorites Icon  CSS Sprites  Sources for Graphics  Guidelines for Using Images  Accessibility & Visual Elements

Copyright © Terry Felke-Morris IMAGE MAP  map element  Defines the map  area element  Defines a specific area on a map  Can be set to a rectangle, circle, or polygon  href Attibute  shape Attribute  coords Attribute 3

Copyright © Terry Felke-Morris IMAGE MAP  chapter4/map.html 4

Copyright © Terry Felke-Morris FAVORITES ICON - FAVICON  A square image associated with a Web page  Usually named: favicon.ico  May display in the browser address bar, tab, or favorites/bookmarks list  Configure with a link tag:

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.7 (PAGE 158)  chapter4/4.7 6

Copyright © Terry Felke-Morris CSS SPRITES  Sprite –  an image file that contains multiple small graphics that are configured as background images for various web page elements  Modern technique to optimize use of multiple icon or small images  Saves overhead by reducing the number of http requests made by the browser.  You’ll use CSS Sprites in Chapter 7! 7

Copyright © Terry Felke-Morris SOURCES FOR GRAPHICS Create them yourself using a graphics application: ◦ GIMP ◦ Adobe Photoshop ◦ Adobe Fireworks ◦ Google’s Picasa ( Download graphics from a free site Purchase/download professional-quality graphics Purchase a graphics collection on a CD Take digital photographs Scan your photographs Scan your drawings Hire a graphic designer to create graphics 8

Copyright © Terry Felke-Morris GUIDELINES FOR USING IMAGES  Reuse images  Consider image file size with image quality  Consider image load time  Use appropriate resolution  Specify dimensions  Be aware of brightness and contrast 9

Copyright © Terry Felke-Morris IMAGES AND ACCESSIBILITY  Don't rely on color alone.  Some visitors may have color perception deficiencies. Use high contrast between background and text color.  Provide a text equivalent for non-text elements.  Use the alt attribute on your image elements  If your site navigation uses image links, provide simple text links at the bottom of the page. 10

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.8 (PAGE 166)  chapter4/4.7  chapter4/4.8 11

Copyright © Terry Felke-Morris CSS3 ROUNDED CORNERS  border-radius property  Configures the horizontal radius and vertical radius of the corner  Numeric value(s) with unit (pixel or em) or percentage  Example h1 { border-radius: 15px; } 12

Copyright © Terry Felke-Morris CSS3 ROUNDED CORNERS  chapter4/box.html 13

Copyright © Terry Felke-Morris EXAMPLES OF ROUNDED CORNERS  One value for border-radius configures all four corners Example: border-radius: 15px;  Four values for border-radius configure each corner separately Ordered by top left, top right, bottom right, bottom left Example: border-radius: 15px 30px 100px 5px; 14

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.9 (PAGE 168)  chapter4/starter3.html  chapter4/lighthouse/index.html 15

Copyright © Terry Felke-Morris CSS3 BOX-SHADOW PROPERTY  Configure the horizontal offset, vertical offset, blur radius, and valid color value  Example: #wrapper { box-shadow: 5px 5px 5px #828282; } Optional keyword: inset 16

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.10 (PAGE 170)  chapter4/lighthouse/shadow.html 17

Copyright © Terry Felke-Morris CSS3 OPACITY PROPERTY  Configure the opacity of the element  Opacity range:  0 Completely Transparent  1 Completely Opaque horizontal offset, vertical offset, blur radius, and valid color value  Example: h1{ background-color: #FFFFFF; opacity: 0.6; } 18

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.11(PAGE 172)  chapter4/opacity/index.html 19

Copyright © Terry Felke-Morris RGBA COLOR Four values are required:  red color, green color, blue color, and alpha(transparency)  The values for red, green, and blue must be decimal values from 0 to 255.  The alpha value must be a number between 0 (transparent) and 1 (opaque).  Example: h1 { color: #ffffff; color: rgba(255, 255, 255, 0.7); font-size: 5em; padding-right: 10px; text-align: right; font-family: Verdana, Helvetica, sans-serif; } 20

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.12 (PAGE 175)  chapter4/opacity/rgbaie.html 21

Copyright © Terry Felke-Morris HSLA COLOR hue, saturation, light, alpha  Hue is a value between 0 and 360  Saturation: percent  Lightness: percent  Optional alpha: from 0 to 1 22

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.13 (PAGE 177)  chapter4/opacity/hsla.html 23

Copyright © Terry Felke-Morris CSS3 GRADIENTS  Gradient: a smooth blending of shades from one color to another  Use the background-image property  linear-gradient()  radial-gradient()  Example: background-color: #8FA5CE; background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#8FA5CE)); background-image: -moz-linear-gradient(top, #FFFFFF, #8FA5CE); filter: progid:DXImageTransform.Microsoft.gradient (startColorstr=#FFFFFFFF, endColorstr=#FF8FA5CE); linear-gradient(#FFFFFF, #8FA5CE); 24

Copyright © Terry Felke-Morris FIGURE 4.39 (PAGE 178)  No image file is needed.  Saves on bandwidth  chapter4/lighthouse/gradient.html 25