AdvWeb-1/12 DePaul University SNL 262 Web Page Design Chapt 10 - Putting Graphics on A Web Page Instructor: David A. Lash.

Slides:



Advertisements
Similar presentations
Working with Images and HTML
Advertisements

Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Iframes & Images Using HTML.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Add Images to Improve Your Presentation Day 8. You will learn to Understand Graphics Formats Find Graphics Create Your Own Images Insert an Image on Your.
1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Choosing an Image Format Image Sizes Bits Per Pixel Graphic Tips Image Tag Attributes Line.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 3: Hyperlinks and Images.
CS /13 DePaul University SNL 262 Advanced Web Page Design Review & Introduction - I Instructor: David A. Lash.
1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Image Sizes Graphic Tips Image Tag Attributes Centering Images.
Lecture HTML Images. Use for Images Photos and Graphics Buttons for Navigation Bullets for Lists Backgrounds Symbols and Icons Logos.
Instructor: A. Burns 1 HTML Images. Instructor: A. Burns 2 Inserting a Graphic Images can be displayed in two ways: as inline images or as external images.
Chapter 4 Adding Images. Inserting and Aligning Images Using CSS When you choose graphics to add to a web page, it’s important to use graphic files in.
AdvWeb-1/15 DePaul University SNL 262 Web Page Design Links In HTML Instructor: David A. Lash.
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.
AdvWeb-1/13 DePaul University SNL 262 Web Page Design Links In HTML Instructor: David A. Lash.
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.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
Web Graphics Image File Formats Image optimization Accessibility issues Using images and colors on the web.
Unit E. Image Measurements The size of an image can be measured 2 ways: Dimensions: the height and width, measured in pixels. File Size: measured in Kilobytes.
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.
Graphic images for computers Stored in files of binary data - Binary blobs Software has to know the binary format to decode the file and render an image.
HTML Boot Camp: Rules and Images
Internet Vocabulary 1-21 State Test Vocabulary. Address address, Internet address, and web address. A code or series of letters numbers and/or.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
File Sizes & Types. Size Matters Kilobytes (K) 1024 bytes = 1 kilobyte— a tiny trademark graphic or log might be a few kilobytes in size, whereas a full.
XHTML Images. Images are important Purpose: to enhance your web site. Add only when they complement or add additional impact to your message.
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 Inserting an image on a web page. chcslonline.org2 ITEMS REQUIRED Go to the course download page on the course website and download the 3 images.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
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.
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.
Creating Web Pages with Links, Images, and Formatted Text
1 Lesson 3 Power Techniques HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
Computer Science 101 Images in Web Pages. Image Files Two common formats, GIF and JPEG GIF images are more flexible for use as icons JPEG images are sharper.
Graphics Basics Two forces are always at odds when you post graphics and multimedia on the Internet. Your eyes and ears want everything to be as detailed.
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
Project 2 Web Page Design Creating and Editing a Web Page Pages
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.
1 Using HTML and JavaScript to Develop Websites. Using Images.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
10 | Graphics COM 366 Web Design & Production. Native file format –Format native to software program –psd > PhotoShop default Preserves layers –Use “Save.
LECTURE 18 Java and Web Pages. Java Savvy Browser A browser capable of handling java applets: - Netscape Navigator - Microsoft Internet Explorer - Sun.
Notes Chapter 10—Adding Graphics. There are two kinds of graphics on the Internet: those you can use on your own Web pages, and those you cannot.  Many.
Internet Applications Development Lecture 4 L. Obead Alhadreti.
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.
Project Two Adding Web Pages, Links, and Images Define and set a home page Add pages to a Web site Describe Dreamweaver's image accessibility features.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
The Web Wizard’s Guide to HTML Chapter Three Colors, Patterns, and Inline Graphics.
Kevin Murphy Images and Web Pages Masters Project CS 490.
Web Page Design Mrs. Ricke. Graphics Interchange Format 256 colors only Good for icons, clipart, logos Not good for high quality pictures.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
Chapter 13 Preparing Graphics for the Web. Creating Slices When you create graphics for the web, you will need to pay attention to different considerations.
Slide 1 Graphics (Characteristics 1) Images have various characteristics that affect performance Size (number of pixels) – Large images can be several.
Images. Working with Images What is the difference between the GIF and JPEG formats? GIF – Graphic Interchange Format Limit to 256 colors Often used for.
ENHANCE YOUR WEBSITE. HOW TO INSERT COLOR??? USE THE TAG: GO TO PICK COLOR WANT BY POINTING: THEN USE THE HEX NUMBER.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 4.
Images, Links and Multimedia
DW Tutorial 5 Sessions 5.1 & 5.2 REVIEW
Hosted by Coach Slanina
Chapter 3 Images.
Web Development & Design Foundations with HTML5 7th Edition
Chapter 2 Adding Web Pages, Links, and Images
Graphics (Characteristics 1)
Hyperlinks, Images, Comments, and More…
Presentation transcript:

AdvWeb-1/12 DePaul University SNL 262 Web Page Design Chapt 10 - Putting Graphics on A Web Page Instructor: David A. Lash

AdvWeb-2/12 Image Files Are Separate Files Welcome Lion.gif Welcome mypage.html Displays as:

AdvWeb-3/12 Placing Image on a Web Page u Image files are typically saved in separate, external files from the HTML text. u You need to include the image files from the HTML text – The basic command to include images is: u You can also use an absolute address to the image: u Typically copy the image to your server area and use local address.

AdvWeb-4/12 Getting Images to Put On Your Web Page u There are many sites on the WWW – Graphics/Clip_Art/ Graphics/Clip_Art/ – u General Procedure To Copy Web Graphic From Web Page to Hard Drive – Place your curser on the graphic to save. – Right click with your curser on the graphic to display a pull down menu. – Pull Down to Save Image As. – Fill in the "Save As..." information (See below). – Hit the Save button to save. u Warning some images have copywrite protection!

AdvWeb-5/12 The Save As … Dialog box

AdvWeb-6/12 Types of Graphic Files - 2 major file formats for WWW graphic images – GIF (Graphic Interchange Format) - uses 8 bit or 256 possible colors. u Particularly good for areas of flat colors like logos, cartoons, icons. u Does not good for photographic images since it reduces all images to 256 colors. u On a side note, Unisys holds the patent on the compression method that gif files uses. – In 1994, announced will charge for sites using GIF, causing people to move towards nonproprietary format. – JPEG (Joint photographic Experts Group) u Uses a 24 bit RGB color information, (displays 8 bit colors on 8bit color systems) u ideal use for photographs. Not good at compressing images with solid colors such as logos, line art and cartoons.

AdvWeb-7/12 The ALT Attribute: u Use Atl= inside the tag, to define some alternative text to display u For example: – Where your message here will display on older browsers that don’t display graphics. – Also displays this message when you point to the image. – For example look at Calvin example Created by the following line:

AdvWeb-8/12 Making an image “clickable” u Any image can be made to be “clickable” – That is, when click image it takes you to another link. u Combine the Anchor tag with image src to make an image click able: Sebastin example click hereexample click here The destination link The image file that will load.

AdvWeb-9/12 Horizontal And Vertical Alignment u Need to use a separate tag to properly wrap text around an image. For example may want the image to be on left and text wrap around it properly: u The following will align the image left but not allow text to wrap around it giving it a different feel: u Click here to see an example of using the DIV tag to align left right and center. Click here for a snoopy examplehere for a snoopy example

AdvWeb-10/12 The Height and Width Attribute of Image Tag u As pages download, a browser first downloads the HTML code to figure out how to lay out page. – If there are images must then download the images to see how big they are to properly lay things out. u You can help this process out by specifying the HEIGHT and WIDTH of image in the IMG tag. E.G, u The browser can therefor not worry about the size of the image, display the HTML right away (giving impression of faster page loading), and then download graphics. u You can use the height and width attributes to change the size of the image: u For example, snoopy.gif created biggersnoopy.gif created bigger

AdvWeb-11/12 The Size Of Graphical Images u Large graphical files take longer to download across network than small. u If images are too long, people won't hang around to wait for page to load. u On a 28.8 KB modem connection each 1 KB of size takes about 30 seconds to download. – 1 KiloByte (KB) => 1024 bytes – MegaByte (MB) => 1,024 KB => 1,0048,576 bytes – 1 GigaByte (GB) => 1,024 MB => 1,073,741,824 bytes u You can use explorer to look at size of files