Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements © 2007 Prosoft Learning Corporation All rights.

Slides:



Advertisements
Similar presentations
1 Cascading Style Sheets Continued Different kinds of selectors in a style sheet –Simple- Pseudo-Class –Contextual- Pseudo-Element –Class Image Styles.
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.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
Tutorial 3 – Designing a Web Page Working with Color & Graphics Mrs. Wilson.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
Marking Up With Html: A Hypertext Markup Language Primer
Creating the pages Part Five Graphics. File Format Basics You can currently use only three image file formats on the Web: GIF, JPG, and PNG. A new format,
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Chapter 3 Adding Images in HTML. Agenda Understanding Web Page Images Prepare Your Images for the Web Insert an Image Specify an Image Size Add Alternative.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML Boot Camp: Rules and Images
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
IT Introduction to Website Development Welcome!
Copyright © 2003 Pearson Education, Inc. Slide 4-1 Created by, Stephanie Ludi, Rochester Institute of Technology—NY Basic Web Page Construction Graphics.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
ITEC 745 Instructional Web Authoring I Instructor: Ray Cole Week 8.
XHTML Louise Soe updated September 2009.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
HTML, Part Showing Pictures: The Image Tags Image Tag Format –src short for source –alt for text –Can use absolute or relative pathname.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 3.
XHTML and Style. History of the Internet Internet has been around since the early 1960’s as part of a program with universities and the US government.
IT Foundations of Web Design Welcome!. Welcome to Unit 5! Site Definition, Templates and Images.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 4 Key Concepts.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
Adding Images Learning Web Design: Chapter 7. Using an Image Images have many purposed on a Web site Used as a static image To add illustration: ex. A.
HTML tags Some popular ones. Paragraph: separated by a single line of white space Line break NOTE: no end tag is used for this tag Headlines ( through.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
TABLES 1. In this chapter you will learn that tables have many uses in HTML. Objectives: Upon completing this section, you should be able to: 1. Insert.
WEB DESIGN AND PROGRAMMING Introduction to XHTML.
HTML. Adding Background Color The bgcolor attribute lets you change the background color of the Web page. Located in the body tag See common Web Page.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
The Web Wizard’s Guide to HTML Chapter Three Colors, Patterns, and Inline Graphics.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 2: Markup Language and Site Development Essentials © 2007 Prosoft Learning Corporation All.
Kevin Murphy Images and Web Pages Masters Project CS 490.
Introduction to Programming the WWW I CMSC Winter 2004 Lecture 3.
Web Page Design Mrs. Ricke. Graphics Interchange Format 256 colors only Good for icons, clipart, logos Not good for high quality pictures.
ECA 228 Internet/Intranet Design I HTML Tags. ECA 228 Internet/Intranet Design I anchor tags Adds a link to the web page Anything placed between the anchor.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 02: Enhancing the Web Page.
Marking Up with XHTML Tags describe how a web page should look
Chapter 1: Introduction to XHTML (part 1)
Chapter 4 - Introduction to XHTML: Part 1
Web Development & Design Foundations with HTML5 7th Edition
Font tag and its attributes
Introduction to HTML II
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Tutorial 3 Working with Cascading Style Sheets
Attribute of heading, <p> and <hr> tag
Attribute of heading, <p> and <hr> tag
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Attribute of heading, <p> and <hr> tag
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design

Objectives Add horizontal rules to your pages Incorporate image files as stand-alone graphics Use the Web-safe color palette Use colors and tiled images for page backgrounds Add special characters to XHTML pages Structure your XHTML document using the tag and CSS

Horizontal Rules in XHTML Create a horizontal rule using the tag: – Horizontal Rules Horizontal rules: Lines used to make visual divisions in your document. Horizontal rule attributes

Images in Web Pages Use the tag to insert an image file using either of two formats to close the tag: – Image file formats –Graphics Interchange Format (GIF) –Joint Photographic Experts Group (JPEG) –Portable Network Graphics (PNG)

Comparing Image File Formats FormatTransparencyInterlacingCompressionAnimation GIF Yes JPEG (standard) No YesNo PNG Yes

Images and the alt Attribute In XHTML, every image must follow good coding practice by including the alt attribute with a corresponding value Code will not validate as XHTML without this attribute Browsers and screen-reader technology can read alt description and render it in audio for disabled users –

Combining Background Images and Colors The bgcolor attribute: –Specifies background colors The background attribute: –Inserts an image as a background If you use both the bgcolor and background attributes in a tag, then only the attribute specified last in the tag will render

Aligning Images Relative to Text The align attribute positions images relative to text Values include: –"bottom" –"middle" –"top" –"left" –"right" The align attribute has been deprecated in favor of style sheets, but can still be used; code will still validate as XHTML 1.0 Transitional

Resizing Images Specify image size using the following attributes: –height –width The syntax for these attributes is: <img src="imagename.gif" height="NumberOfPixels" width="NumberOfPixels"/> Specifying both height and width can distort an image; be sure to use proper proportions

Special Characters Uses code with ampersand (&) and semicolon (;) Special characters include: –The "less than" symbol < Code: < –The "greater than" symbol > Code: > –The copyright sign © Code: © or © –The registered trademark sign ® Code: ® or ® –The United Kingdom pound sterling sign: £ Code: £ Non-breaking space:

Specifying Colors Colors can be specified by name or by Hexadecimal "Red Green Blue (RGB)" value

Web-Safe Color Palette A set of 216 colors guaranteed to render properly Ensures that colors in pages render as expected –If you specify a color not supported by the monitor or operating system, the system will approximate the color, a process called dithering –Unexpected results may occur as the result of dithering

Page Colors and Backgrounds Specifying page colors: Specifying text color on the page: – Specifying color of unvisited links: – Specifying color of visited links: – Providing a background image: –

Specifying Font Information You can use the tag –The size attribute: specify value "1" through "7" –The face attribute: specify font type (e.g., Arial, Times New Roman) The tag is deprecated The W3C recommends to use style sheets instead

Web Design Issues Color combinations –Popular color combinations Consider existing sites –Habitat for Humanity ( –Microsoft ( –Red Hat ( Cultural and audience concerns –Page layout Layout guidelines Document structure, the tag and style sheets Relative path names White space, the tag and XHTML

Lesson 4 Summary Lesson 4 Horizontal Rules and Graphical Elements See Skills Review