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

Slides:



Advertisements
Similar presentations
Chapter 6 More CSS Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Advertisements

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.
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
INF Web Design HTML5 and CSS3. HTML 5 and CSS 3 to the rescue? HTML 5 Specifically designed for web applications on all platforms HTML 5 will update.
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 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.
By Tuyet Le & Madhura Pitale. Seating Chart with CSS3.
INTRODUCTION TO HTML5 Styling with CSS3. Round Border Corners  You can modify any element that supports the border property and render rounded borders.
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.
Ins & Outs of. CSS3 is Modular Can we use it now?
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 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.
Tutorial 8 Enhancing a Web Site with Advanced CSS
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.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Today’s Agenda Advanced CSS Techniques Floating Z-index Centering Sliding Doors Fluid Layouts CSS3 Advanced CSS Lab Mini Project #2.
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.
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.
PERSPECTIVES: TUTORIAL 4 CREATING PAGE LAYOUTS WITH CSS.
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.
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.
CONFIGURING COLOR AND TEXT WITH CSS Chapter 3. Cascading Style Sheets (CSS) Used to configure text, color, and page layout. Launched in 1996 Developed.
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
Chapter 4 Visual Elements And Graphics Part II
Chapter 6 More CSS Basics Key Concepts
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
CSS Debugging Tips Manually check syntax errors
Web Development & Design Foundations with H T M L 5
Gradients.
Gradients.
Presentation transcript:

Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 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  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  chapter4/4.7 6

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 7

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 8

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. 9

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  Browser vendor proprietary properties:  -webkit-border-radius (for Safari & Chrome)  -moz-border-radius (for Firefox)  border-radius (W3C syntax)  Example h1 { -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; } 10

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

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; 12

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.9  chapter4/starter3.html  chapter4/lighthouse/index.html 13

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

Copyright © Terry Felke-Morris CSS3 TEXT-SHADOW PROPERTY  Configure the horizontal offset, vertical offset, blur radius, and valid color value  Example: #wrapper { text-shadow: 3px 3px 3px #666; } 15

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.10  chapter4/lighthouse/shadow.html 16

Copyright © Terry Felke-Morris CSS3 OPACITY PROPERTY  Configure the opacity of the background color  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; } 17

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.11  chapter4/opacity/index.html 18

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; } 19

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 4.12  chapter4/opacity/rgba.html 20

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); 21

Copyright © Terry Felke-Morris FIGURE 4.39  No image file is needed.  Saves on bandwidth  chapter4/lighthouse/gradient.html 22