Graphics (Characteristics 1)

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter Five Working with Images.
Advertisements

Iframes & Images Using HTML.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
© 2011 Delmar, Cengage Learning Chapter 13 Preparing Graphics for the Web.
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.
Working Graphics. Slide 2 Lecture Overview Formatting Text Understanding whitespace.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 3: Hyperlinks and Images.
1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Image Sizes Graphic Tips Image Tag Attributes Centering Images.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
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.
Creating HTML 5 Documents (The Basics). Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create.
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
1 Mastering the Internet and HTML Images and Image Tags.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
 Scaling an image is resizing the image in a graphic editing software so it is the proper size before adding it to a site.  Important NOTE: If you insert.
CIT 256 Dreamweaver Intro. Dr. Beryl Hoffman. Start Dreamweaver Start from Start Menu/Adobe Master Collection CS6/ Adobe Dreamweaver CS6 Choose Create.
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) –
Images in web pages. Images Why do we use images? They add interest, and keep the user from being bored They convey information –Charts are easier to.
Images in HTML PowerPoint How images are used in HTML.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
HTML, Part Showing Pictures: The Image Tags Image Tag Format –src short for source –alt for text –Can use absolute or relative pathname.
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.
XHTML1 Images N100 Building a Simple Web Page. XHTML2 The Element The src attribute specifies the filename of an image file To include the src attribute.
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.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
Internet Applications Development Lecture 4 L. Obead Alhadreti.
The Web Wizard’s Guide to HTML Chapter Three Colors, Patterns, and Inline Graphics.
Adding Images to Your Web Page Web Design Section 5-7 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Structured Content Philosophy. Structure 4 Meaning Content meaning is tagged: Tag application is more consistent Special browsers can act smarter Aids.
Kevin Murphy Images and Web Pages Masters Project CS 490.
WRA 210: 10/7/13 IMAGES. TODAY’S AGENDA Reminder about Module 8 - test your links!Module 8 Overview of hierarchies, naming How images work on the web.
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.
REEM ALMOTIRI Information Technology Department Majmaah University.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 4.
HTML III ECT 270 Robin Burke.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Images.
Images in HTML PowerPoint How images are used in HTML
Inserting and Working with Images
DW Tutorial 5 Sessions 5.1 & 5.2 REVIEW
Hosted by Coach Slanina
LINKS.
Adding Images to Your Web Page
HTML Images CS 1150 Spring 2017.
Chapter 3 Images.
Web Development & Design Foundations with HTML5 7th Edition
Adding Images.
Introduction to HTML II
Basic HTML and Embed Codes
Images.
Images.
HTML Introduction Lecture 8.
DREAMWEAVER MX 2004 Chapter 4 Working with Images
Putting An Image on Your Web Page
HTML Images CS 1150 Fall 2016.
Pertemuan 1b
Adding Images.
Adding Images.
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Hyperlinks, Images, Comments, and More…
Adding Images.
Adding Images.
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

Graphics (Characteristics 1) Images have various characteristics that affect performance Size (number of pixels) – Large images can be several megabytes Color (bits per pixel) – The more colors, the larger the image Compression – Algorithms exist to compress images without any loss of fidelity

Graphics (Characteristics 2) Interlacing – loads and renders alternating lines to improve perceived performance

Images (Types) JPEG compresses well and handles many colors PNG-24 works well but results in larger files GIF files support only 260 colors See table 5.1 in the text book

The <img> Element (Introduction) It’s used to Pull images into HTML documents when the documents are rendered Images are stored separate from the HTML file referencing the image When using thumbnails, you are really using two images Alternate text can appear if the image is unavailable (accessibility)

The <img> Element (Attributes) src - the absolute or relative URL containing the image alt – Text to display in place of the image file (Use to improve accessibility) width – width of the image (in pixels) height – height of the image (in pixels)

The <img> Element (Notes) If you don’t set the height and width, the image will be rendered at its original size If you set the height and width, the image will be scaled as needed The image might be stretched I won’t use the deprecated formatting attributes favoring CSS

The <img> Element (Examples) Insert an image using a relative reference The current directory <img src="NevadaRGB.gif" alt="Nevada N"/>

Making an Image into a Link Simply embed the <img> tag into the content of the <a> tag as in <a href="http://www.unr.edu"> <img src="NevadaRGB.gif" alt="Nevada N" height="100px", width="200px" /> </a>

Image Maps (Introduction) Simply put, they allow you to create links to other Web pages using images Different links are visited depending on where in the image the user clicked These regions are called hot zones

Image Maps (Creating) Use the <img> element The <src> element contains the name of the image file The usemap attribute contains a bookmark The <map> element contains multiple <area> elements <area> elements define the shape and the link visited when the area is clicked

Image Maps (Best Practices) They are a pain to create by hand You really need a tool to create these easily See http://www.recreation.gov/browseMapsRecGov.do?topTabIndex=CampgroundMap