Adding Images to Your Web Page

Slides:



Advertisements
Similar presentations
Introduction to HTML Lists, Images, and Links. Before We Begin Save another file in Notepad Save another file in Notepad Open your HTML, then do File>Save.
Advertisements

Acquiring Images for Web Graphics Web Design Section 5-5 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Audio and Video on the Web Sec 5-12 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Dreamweaver – Dreamweaver Extras Web Design Section 8-4 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
XHTML Images. Images are important Purpose: to enhance your web site. Add only when they complement or add additional impact to your message.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Informatics Computer School CS114 Web Publishing HTML Lesson 2.
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) –
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Images in HTML PowerPoint How images are used in HTML.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
Linking to an External Style Sheet Web Design Section 4-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Add an Image. index.html about.html contact. html contact. html.
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.
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.
HTML Lesson 3 Hyper Text Markup Language. Assignment Part 2  Set the file name as “FirstName2.htm”  Set the title as “FirstName LastName First Web Site”
Adding Images. XHTML Element ElementAttributeAttribute Value Closing tag AttributeAttribute Value The src attribute supplies the name and location of.
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.
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.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
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.
Basic Webpage Design Mark-up html document with images.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
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.
Creating Your Own Navigation Menu Web Design Section 6-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
ENHANCE YOUR WEBSITE. HOW TO INSERT COLOR??? USE THE TAG: GO TO PICK COLOR WANT BY POINTING: THEN USE THE HEX NUMBER.
HTML Basics.
HTML basics
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Using JavaScript to Show an Alert
Acquiring Images for Web Graphics
Images in HTML PowerPoint How images are used in HTML
Elements of HTML Web Design – Sec 3-2
Intro to Dreamweaver Web Design Section 8-1
Intro to HTML Mr. Singh.
Audio and Video on the Web
Elements of HTML Web Design – Sec 3-2
Web Design and Development
Acquiring Images for Web Graphics
GRAPHICS(IMAGES) Explained By: Sarbjit Kaur.
HTML Images CS 1150 Spring 2017.
Chapter 3 Images.
Adding Images.
Graphics (Characteristics 1)
Basic HTML and Embed Codes
Putting An Image on Your Web Page
HTML Images.
HTML Images CS 1150 Fall 2016.
Pertemuan 1b
Adding Images.
Adding Images.
Pertemuan 1 Desain web Pertemuan 1
Lesson 7 Graphics.
Images in HTML PowerPoint How images are used in HTML
Hyperlinks, Images, Comments, and More…
Adding Images.
Adding Images.
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

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 I” Course materials

Objectives The Student will: Utilize images created in a graphics program in an html page Use thumbnail images to link to a larger image Use the ALT attribute when adding images to a page

The <img /> tag The <img /> tag is used to insert images into a web page. Note that the <img /> tag a non-container tag. You open and close it in the same <> End the tag with /> not just a >

Attributes for the <img /> tag Value Description src URL Specifies the URL of an image alt text Specifies an alternate text for an image height pixels % Specifies the height of an image width Specifies the width of an image

Format for the <img /> tag Here is an example of the <img /> tag: If I have an image that I want to insert and the image is in a directory called images then: <img src="images/stickman.gif" alt="Stickman" width="24" height="39" /> The image is the file “images/stickman.gif” The text read by a screen reader will be “Stickman” The width is 24 pixels (72 pixels is an inch) The height is 39 pixels (72 pixels is an inch)

Example - The HTML Code: <head> <title>Example of images</title> </head> <body> <p>Insert an image from another folder:</p> <img src="images/stickman.gif" alt="Stickman" width="24" height="39" /> <p>Insert an image from a web site:</p> <img src="http://www.w3schools.com/images/lamp.gif" alt="Lamp" width="15" height="15" /> </body> </html>

Example – Will Produce This:

Summary <img /> tag is used to insert images in a web page. The <img /> tag is a non-container It is opened and closed in the same tag! The <img /> tag uses the following attributes src, alt, height, width

Rest of Today Download Homework 5-7 from the Hancock website Complete Homework 5-7 by adding 6 pictures to your website You need to finish this today!

Example graphics.html File