Adding Images.

Slides:



Advertisements
Similar presentations
Working with Images and HTML
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.
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 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 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.
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.
Web Graphics Image File Formats Image optimization Accessibility issues Using images and colors on the web.
XHTML Images. Images are important Purpose: to enhance your web site. Add only when they complement or add additional impact to your message.
 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.
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 HTML PowerPoint How images are used in HTML.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
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.
Images, Links, and Multimedia. Directories and Pathnames.
Images. The Element To place an image on our web page, we use the self-closing element: The src attribute ("source") is required and supplies the name.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
Web Design (7) Images (1). Images and the Image Element Images can be placed in the flow of text..jpg,.png and.gif image files work in web pages The img.
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.
Adding Images. XHTML Element ElementAttributeAttribute Value Closing tag AttributeAttribute Value The src attribute supplies the name and location of.
Web Design (8) Images (2). My Holiday Photos An exercise in adding and linking images. Create a new website folder calling it ‘My Holiday Photos’. In.
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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
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.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
GRAPHICS. PURPOSE OF GRAPHICS IN WEB DESIGN Graphics add visual/aesthetic appeal to the information on the web page, helping to maintain viewer interest.
 Pictures  Page backgrounds  Element backgrounds (list items!)  Link displays (arrows)  List markers.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Images can set the tone for a site in less time than it takes to read a description. CHOOSING IMAGES FOR YOUR SITE.
HTML Basics.
Exploring Computer Science - Lesson 3-4
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Images, Hyperlinks, and Sound
Basic HTML Tutorial Amber Brady.
Images.
Images.
Exploring Computer Science - Lesson 3-4
Images in HTML PowerPoint How images are used in HTML
Inserting and Working with Images
Exploring Computer Science - Lesson 3-4
Adding Images to Your Web Page
HTML Images CS 1150 Spring 2017.
Chapter 3 Images.
Images and Backgrounds
Web Development & Design Foundations with HTML5 7th Edition
Adding Images.
Colors.
CIS 228 The Internet 1/13/11 Images.
Graphics (Characteristics 1)
Images.
Images.
HTML Introduction Lecture 8.
HTML Images.
Images, Hyperlinks, and Sound
Images.
HTML Images CS 1150 Fall 2016.
Adding Images.
Hyperlinks, Images, Comments, and More…
Adding Images.
Adding Images.
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

Adding Images

XHTML <img> Element <img src="mypic.jpg" alt="my text" /> Element Attribute Attribute Value Attribute Attribute Value Closing tag The src attribute supplies the name and location of the image file you wish to display. If no path is specified, the browser will expect the file to be in the same folder as the web page. The alt attribute determines what text will display in the web page if the image is not available. This is also what screen readers (for the visually impaired) will use. Get in the habit of naming image files in all lowercase letters and use underscores or dashes instead of spaces.

<img> height and width attributes <img src="sunset.jpg" height="600" width="800" alt="A beautiful sunset" /> By specifying the height and width attributes of an image, we help the browser display the image correctly on the page. We can use these attributes to make a large image appear smaller on the page. We can also make a smaller image appear larger on the page, but this is not recommended, as the image will look pixelated and of poor quality. When making a large image appear smaller on the page, be sure to keep the same ratio of height to width. If you don't, the resulting image will look "squished" when it displays on the page.

Determining the Height and Width: By viewing the properties of an image file in Windows, you can see what the width and height are.

Resizing the Height and Width: By dividing the height and width evenly, we can resize an image on our web page. <img src="sunset.jpg" height="300" width="400" alt="A beautiful sunset" />

Image Formats for the Web: The most common image formats for websites are (.jpg), (.png), and (.gif) extensions. While jpg files are used most often, the other two formats have their own advantages: Image Extension: jpg png gif Best suited for: Photographs Logos, Icons Animations Color support: Excellent Excellent Limited Supports transparency: û ü ü Supports animation: û û ü