Working with Images and HTML

Slides:



Advertisements
Similar presentations
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Advertisements

Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Iframes & Images Using HTML.
1 Cascading Style Sheets Continued Different kinds of selectors in a style sheet –Simple- Pseudo-Class –Contextual- Pseudo-Element –Class Image Styles.
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.
Tutorial 3 – Designing a Web Page Working with Color & Graphics Mrs. Wilson.
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.
Tutorial 3 Designing a Web Page.
1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Image Sizes Graphic Tips Image Tag Attributes Centering Images.
Computer Science 1611 Internet & Web Creating Webpages with Style Hypertext and the HTML Markup Language (continued)
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.
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.
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.
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.
1 Mastering the Internet and HTML Images and Image Tags.
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
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 attributes Create.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
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.
Day 4.  Assignment 1 Due  Assignment 2 Posted Assignment 2 Posted  Due Feb 9:35 AM  3 8:30 AM  Today we will look at creating and using.
Creating Web Pages with Links, Images, and Formatted Text
Chapter 12 FRAMES. HOW FRAMES WORK When you view a framed page in a browser, you are actually looking at several HTML documents at once. The key to making.
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.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 4 Key Concepts.
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
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.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
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.
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”
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.
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
COS 125 Day 4. Agenda Assignment 1 Due Assignment 2 Posted –Due Feb 9:35 AM Today we will look at creating and using images Examples –
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.
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.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
The Web Wizard’s Guide to HTML Chapter Three Colors, Patterns, and Inline Graphics.
Enhancing Your Web Site 2 assignments: 1st—complete the worksheet 2nd—create your 3RD HTML web page following the directions in this PowerPoint where it.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
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.
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.
HTML Frames. Advantages to Using Frames n flexibility in design n information in different Web pages n remove redundancy. n site easier to manage. n update.
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.
REEM ALMOTIRI Information Technology Department Majmaah University.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
ENHANCE YOUR WEBSITE. HOW TO INSERT COLOR??? USE THE TAG: GO TO PICK COLOR WANT BY POINTING: THEN USE THE HEX NUMBER.
Part 4 Text & Fonts © UNT in partnership with TEA1IT: Web Technologies - HTML Scripting.
Inserting and Working with Images
Linking With Graphics INP150: Basic HTML March 25, 2002.
GRAPHICS(IMAGES) Explained By: Sarbjit Kaur.
Chapter 3 Images.
Web Development & Design Foundations with HTML5 7th Edition
Attribute of heading, <p> and <hr> tag
Attribute of heading, <p> and <hr> tag
Lesson 7 Graphics.
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Attribute of heading, <p> and <hr> tag
Presentation transcript:

Working with Images and HTML Web Page Design & Development

Inserting a Background Image The background attribute allows an image file for the background of a Web page. The syntax for inserting a background image is: <body background=“URL”> URL is the location and filename of the graphic file you want to use for the background of the Web page. for example, to use an image named “bricks.gif” as a background image, you would use the tag: <body background=“brick.gif”>

Background Image In choosing a background image, you should remember the following: use an image that will not detract from the text on the Web page, making it hard to read do not use a large image file (more than 20 kilobytes) large and complicated backgrounds will increase the time it takes a page to load be sure to take into consideration how an image file looks when it is tiled in the background

Web Page Backgrounds Background overwhelms the foreground text Background shows distracting seams between image tiles Background doesn’t overwhelm the foreground text and seams are not evident This figure shows some examples of well-designed and poorly designed Web page backgrounds.

Images The two image file formats supported by most Web browsers are GIF and JPEG. Choosing the appropriate image format is an important part of Web page design. Balance the goal of creating an interesting and attractive page against the need to keep the size of your page small and easy to receive. Each file format has its advantages and disadvantages, and you will probably use a combination of both formats in your Web page designs.

Working with GIF Files GIF GIF Colors Graphics Interchange Format Most commonly used image format on the WWW Compatible with almost any browser GIF Colors Limited to 256 colors Clipart Logos Icons

Interlaced and Noninterlaced GIFs Interlacing Refers to the way a GIF file is saved by the graphics software Graphic image is retrieved as it was saved Blurry and then comes into focus Noninterlaced The image is saved one line at a time, starting from the top and moving downward

Example

Transparent GIFs Transparent color is a color from the image that is NOT displayed when the image appears in the browser

Animated GIFs Composed of several images Easier and better than video images Available in JASC Paint Shop Pro

Let's talk about images… When you use an image, basically you are linking to it. It is wise to upload the image to your site. If an image is uploaded to your web site, you do not have to link the entire web address, only the picture name.

<img src=“picture.gif”> Tags for Images The tag to insert an image is the <img> tag <img> is the ELEMENT and does nothing by itself You must use attributes with this tag You add the src attribute to insert the image <img src=“picture.gif”>

Let's go over a few codes height - the height of the image width - the width of the image align - the horizontal alignment of the image top----------aligns the text with the top of the picture bottom-------aligns text with bottom of picture middle-------aligns the text with the middle of the image right--------aligns image at right margin, and text will wrap on the left side of it left---------aligns picture at the left margin, and text will wrap on the right of it hspace should be the amount of space you want on the sides your picture in pixels (image margins) vspace should be the amount of space you want on the top and bottom of your picture in pixels

Using the alt Attribute The alt attribute specifies text to display in place of an inline image. The syntax for specifying alternate text is: <img src=“URL” alt=“alternate text”>

Using the border Attribute The border attribute specifies what type of line, if any, is around your picture. If your picture is a link, you may want to turn off the border by setting it to “0.” The syntax for specifying a border is: <img src=“URL” border=“0”>

<img src="monkey.gif" align="left"> Alignment <img src="monkey.gif" align="left"> Here are some examples Aligned left. Notice how the text hugs the image, instead of starting under it. Aligned right. The image hops over to the side, and if the text reaches it, it just drops down beside it and continues.

Today’s Assignment Using the HTML file provided in your “hand out” folder, you must insert images into the code. Use the directions provided.