Tutorial 3 – Designing a Web Page Working with Color & Graphics Mrs. Wilson.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

Working with Images and HTML
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
1 Cascading Style Sheets Continued Different kinds of selectors in a style sheet –Simple- Pseudo-Class –Contextual- Pseudo-Element –Class Image Styles.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
CSS cont. October 5, Unit 4. Padding We can add borders around the elements of our pages To increase the space between the content and the border, use.
กระบวนวิชา 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.
New Perspectives on Creating Web Pages with HTML
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
Tutorial 4: Designing a Web Page with Tables
Let’s do it with Style! Fonts, Colors, and Graphics CSCI 202 Day 1 (Fall 2014) Font/Colors CS
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements.
Images & Tables. Three graphic file types are supported by today's browsers: GIF - Graphic Interchange Format JPEG - Joint Photographic Experts Group.
Tutorial 3 Designing a Web Page.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 4: Designing a Web Page with Tables.
Creating a Web Page with Tables. Objectives Create a text table with preformatted text Create the basic structure of a graphical table Organize table.
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
Using HTML Tables.
Marking Up With Html: A Hypertext Markup Language Primer
Using color and fonts in HTML and XHTML Please use speaker notes for additional information!
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
Colour & Image in HTML Wah Yan College (Hong Kong) Mr. Li C.P.
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.
Explanation of Web 6, Web 7 and Web 9 at my site Please be sure to bring up the speaker notes for the explanation Intro - Web 6, Web 7 and Web 9.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Adding Images & Working with Images Unit 2. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date:08/10/2009 Period : Summary: To display Art To display Photographs.
Colors, Images, & Image Maps. Working with Color Colors are defined in terms of RGB Triplet –Red, Green, Blue –0 to 255 in intensity –(00, 00, 00) is.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements © 2007 Prosoft Learning Corporation All rights.
IT Introduction to Website Development Welcome!
1 Working with Cascading Style Sheet (CSS) (contd.)  What we will cover… 1. Color (decimal and hexadecimal representation) 2. Floating elements 3. Styling.
Chapter 12 Cascading Style Sheets: Part II The Web Warrior Guide to Web Design Technologies.
Copyright © 2003 Pearson Education, Inc. Slide 4-1 Created by, Stephanie Ludi, Rochester Institute of Technology—NY Basic Web Page Construction Graphics.
XHTML Louise Soe updated September 2009.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
Chapter 6 An Introduction to HTML Pages Tag Nesting You can put two tags together to combine the effects Bold and underlined But make sure.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
Web111a_chapt03.ppt HTM: Section 3 Colors Selecting Colors Methods Color names Color values Color Names 16 Basic Color Names HTML 3.05, Figure 3-2 Extended.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 3.
CNIT 132 – Week 7 HTML - Tables. Tables on the World Wide Web A table can be displayed on a Web page either in a text or graphical format. A text table:
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 4 Key Concepts.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
XP Creating Web Pages with HTML, 3e Prepared by: C. Hueckstaedt, Tutorial 4 1 New Perspectives on Creating Web Pages with HTML Tutorial 4: Designing a.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Internet Applications Development Lecture 4 L. Obead Alhadreti.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
12/20/20151 Color Fall, 2010 Modified by Linda Kenney 10/26/10.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Web Page Design Mrs. Ricke. Graphics Interchange Format 256 colors only Good for icons, clipart, logos Not good for high quality pictures.
1 Start TextEdit. 2 Creating a Home Page  A home page is the main page of a Web site –Visitors usually view the home page first –Identify the purpose.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
REEM ALMOTIRI Information Technology Department Majmaah University.
Part 4 Text & Fonts © UNT in partnership with TEA1IT: Web Technologies - HTML Scripting.
CNIT 131 Graphics.
Tutorial 3 – Designing a Web Page
LAB Work 02 MBA 61062: E-Commerce
Font tag and its attributes
Introduction to HTML II
Using HTML Tables SWBAT: - create tables using HTML
Tutorial 3 Working with Cascading Style Sheets
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Presentation transcript:

Tutorial 3 – Designing a Web Page Working with Color & Graphics Mrs. Wilson

Overview Using color will make your web pages:  visually interesting  eye-catching for the reader HTML is a text-based language, requiring you to define your colors in textual terms. HTML identifies a color in one of two ways:  by the color’s name  by the color values

16 Basic Color Names

Limitations Using the basic color names allows you to accurately display them across different browsers and operating systems. The list of only 16 colors is limiting to Web designers.  in response, Netscape and Internet Explorer began to support an extended list of color names

Partial List of Extended Names

Color by Value To have more control and more choices, specify colors using color values. A color value is a numerical expression that precisely describes a color.

WYSIWYG When you work with desktop publishing applications, you typically make color choices without much difficulty due to the WYSIWYG graphical user interface those programs employ.

Color Hexadecimal (HEX) code Any color can be thought of as a combination of three primary colors: red, green, and blue. By varying the intensity of each primary color, you can create almost any color and any shade of color. This principle allows a computer monitor to combine pixels of red, green, and blue to create the array of colors you see on your screen.

Easier Way to Color Each color is represented by a triplet of numbers, called an RGB triplet, based on the strength of its Red, Green, and Blue components. Colors are assigned from 0 to 255.  White has a triplet of (255,255,255), indicating that red, green, and blue are equally mixed at the highest intensity.  Yellow has the triplet (255,255,0) because it is an equal mixture of red and green with no presence of blue.  The RGB system permits 16.7M distinct colors.

Color Names, RGB Triplets, and Hexadecimal Values

Color Scheme for Web Page Default values  Black Text  White or Gray background  Hypertext link is Blue, Visited link is Purple Modify tag  document here

Color Schemes for Web Page tag  bgcolor attribute sets the background color the value of color will be either one of the accepted color names or the color’s hexadecimal value if you use the hexadecimal value, you must preface the hexadecimal string with the pound symbol (#) and enclose the string in double or single quotation marks i.e.  text attribute controls text color  link attribute defines the color of hypertext links  vlink attribute defines the color of links that have been visited by the user  alink attribute determines the color of an active hyperlink (the color of the link as it is clicked by the user) Document here

EXAMPLE TO TRY background color text color hyperlink color previously followed hyperlink color active hyperlink color

Background Attribute An Image file can be used as a background Document here This figure shows that when a browser retrieves your image file, it repeatedly inserts the image into the background, in a process called tiling, until the entire display window is filled up.

Background Images Remember  Image should not detract from page  Don’t use large images (>20K), load time is long  Image should be seamless (don’t show boundaries and grids when tiled)

Tags—Specific/Generic The tag allows you to specify the color, the size, and the font to be used for text on a Web page and it has THREE properties. The syntax for the tag is: text  size attribute allows you to specify the font size of the text  color attribute allows you to change the color of individual characters or words  face attribute specifies a particular font for a section of text text goes here

Giving it a New Face! The face attribute is used to specify a particular font for a section of text. The face attribute overrides the browser’s font choice. You must specify a font that is installed on the user’s computer or use one of the following five generic font names:  serif  sans-serif  monospace  cursive  fantasy

Generic Names

Plan Ahead with Fonts The face attribute allows you to specify a list of potential font names.  the browser tries to use the first font in the list; if it fails, it will try the second font, and so on. A generic font name should be listed last for the browser to fall back on.  for example to display the word “Arcadium” in a sans-serif, enter the following HTML tag: Arcadium

Font Size The SIZE property of the tag allows you to specify the font size of the text. SIZE value can be in either absolute or relative terms. You can have a text size of 2 by stating SIZE=2 OR you can increase the font size relative to the surrounding text by entering SIZE=+2 in the tag

Spot Color You can use the tag to add spot color. For example,  This is an example of spot color. Spot color is add

Stop here! Let’s explore serif and sans serif fonts. Visit several websites and develop a list of 5 serif fonts and 5 san serif fonts. Find the SPECIFIC names.

Image Formats Two major file formats supported by browsers  GIF – Graphics Interchange Format Most common on web Displays 256 colors  JPEG – Joint Photographic Experts Group Extension JPG or JPEG Full 16.7 million colors Usually smaller files than GIF Can control amount of file compression – affects image quality

Images Basic Tag  Attributes  HEIGHT  WIDTH   These attributes may not work in all browsers, best to use correct size images

Size of the Image  Increase or decrease the size of image  HEIGHT=value, WIDTH=value in pixels  Better use graphic Software to alter size  HEIGHT & WIDTH does not change file size  Browser calculates the image size before displaying it  Better to specify size so browser does not need to calculate it

Alternate Text for Image  Some WWW browsers are primarily text-only like Lynx  Can turn off image loading if slow connections  Use an alternate tag displays specified text instead of image  A Necessity for visually impaired users  Example:

Images as Hyperlinks Inline images can be used as hyperlinks Format: 

Aligning Images Can separate text from image  Align Left, Right, Center Can align text with text  Ex. Top, Bottom, Middle …. View examples on Lecture link page

Image Borders BORDER attribute can be set to non- zero, whether or not used as hyperlink Helps image stand out Format:  See examples on Lecture link page

Space Around Image Increase the vertical and horizontal space around the image  VSPACE – space above and below the image  HSPACE – space left and right of image  Measured in Pixels Syntax: 

Tips for Color and Images  Rule of thumb – total graphics KB  Use graphic software to reduce image size  Reduce number of colors (>256 GIF)  Experiment with GIF & JPEG formats  Use thumbnails  Reuse your images – browser already has a copy of file  Provide alternate text for all images  Use the ALT, HEIGHT, & WIDTH properties

More Tips on Color & Images  Have enough contrast between text and background  Avoid clashing colors  View page in multiple browsers  Text different color depth to determine if dithering appears  Dithering is where increased color depth is approximated, may appear grainy  Use 256 colors to control dithering  Eliminate dithering by using the Safety Palette (211 colors that works on all browsers)