CHAPTER 2 INTEGRATING IMAGES. LEARNING OBJECTIVES How to use the tag to place an image within a Web page The difference between relative and absolute.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

Working with Images and HTML
CHAPTER 15 WEBPAGE OPTIMIZATION. LEARNING OBJECTIVES How to test your web-page performance How browser and server interactions impact performance What.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
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.
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.
HTML Lesson 3 TBE 540 Farah Fisher. Prerequisites Use a search engine to locate information. Download graphics from the web. Define GIF, JPG and "animated.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
Images By Tara Frieszell By Tara Frieszell. Adding images to your website will make it more interesting and add to the design. However, some viewers aren’t.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Chapter 5 Working with Tables. Agenda Add a Table Assign a Table Border Adjust Cell Padding and Spacing Adjust Cell Width and Height Add Column Labels.
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.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
CHAPTER 1 GETTING STARTED WITH HTML. LEARNING OBJECTIVES How a Web browser downloads and processes an HTML page for display What is the purpose of a Web.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
Tutorial 4: Using CSS for Page Layout. 2 Objectives Session 4.1 Explore CSS layout Compare types of floating layouts Examine code for CSS layouts View.
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.
1 Web Developer Foundations: Using XHTML Chapter 10 Helper Applications and Plug-in Concepts.
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.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Uploading Image Files. Introduction – Click on Control Panel Button Typically, most instructors will post the majority of their images under the “Course.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
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.
Understanding HTML Code
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.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
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.
Just Enough HTML How to Create Basic HTML Documents.
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
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.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
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.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Intro to HTML Part 2 Kin 260 Jackie Kiwata. Overview Links Images Lists.
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.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
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.
Adding Images. XHTML Element ElementAttributeAttribute Value Closing tag AttributeAttribute Value The src attribute supplies the name and location of.
Chapter 5 Creating Page Templates. Principles of Web Design 2nd Ed. Chapter 5 2 Principles of Web Design Chapter 5 Objectives Understand table basics.
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.
Chapter 5 Working with Tables Principles of Web Design, 4 th Edition.
The Web Wizard’s Guide to HTML Chapter Three Colors, Patterns, and Inline Graphics.
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.
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 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
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.
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Lecture 8 Introduction to Web Programming. Announcement  First In-class exam will be on Oct. 10 (Wednesday)  2.50pm – 4.05pm  Exam will cover all materials.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Inserting and Working with Images
Putting Images on Your Web Page
Putting An Image on Your Web Page
Lesson 7 Graphics.
ITI 133: HTML5 Desktop and Mobile Level I
Getting Started with HTML
Presentation transcript:

CHAPTER 2 INTEGRATING IMAGES

LEARNING OBJECTIVES How to use the tag to place an image within a Web page The difference between relative and absolute image URLs Why and how to specify alternative text for an image How to specify an image’s height and width using tag attributes Why you should scale your images using photo-editing software How to center an image within a Web page How copyrights affect which images you and can’t use within a Web page How image resolution impacts image size which effects your page download speed How to display a page background image How to display an image border and how to use the border to round image corners

LEARNING OBJECTIVES CONTINUED How to pad an image with pixels to provide space between the image and other page elements How to control image opacity How to align text and images How to position an image How to rotate an image

PLACING AN IMAGE WITHIN A WEB PAGE

TAG WITHIN OTHER CONTENT My German Shepard "Bo" is two-years old. He lives with us on the ranch. He likes to spend his days at the barn with the horses and his nights watching TV. Bo lives with 4 other dogs. His favorite times of the day are breakfast and lunch.

SIDE BY SIDE IMAGES

STACKING IMAGES

UNDERSTANDING RELATIVE IMAGE URLS When you place an tag within an HTML file, you use the src attribute to tell the browser where to locate the image file. The previous HTML files used absolute URLs to specify the each image location, meaning, each URL began with and then specified site holding the file as well as the path (folder location and filename) to file. Often, to better organize your files, you will place images for your Web site within a specific folder. In such cases, you can use a relative URL to specify the image location (as opposed to have to specify the complete site). Likewise, there may be times when simply place your image files in the same folder as the HTML file.

RELATIVE URL EXAMPLE

BROKEN IMAGE LINK Note: Web developers often upload an HTML file to a Web server and forget to also upload the corresponding image files. For users across the Web to be able to view the Web page with the images, the image files must reside on a Web server along with the HTML file

SPECIFYING AN ALTERNATIVE TEXT

CONTROLLING AN IMAGE HEIGHT AND WIDTH

SPECIFYING IMAGE SIZES AS A WINDOW PERCENTAGE

SIZE YOUR IMAGES USING PHOTO-EDITING SOFTWARE Using the tag height and width attributes provides a fast way for designers to determine the image sizes they desire. After they determine the image size that they want, most designers will then use photo-editing software, such as Photoshop, to physically change the image size. If you are increasing a photo’s size, the photo-editing software will normally produce a better result than will a browser. If you are instead, reducing an image’s size, the photo-editing software can do so and create a smaller image file size, which later will download faster when a user views your Web page.

CENTERING AN IMAGE

IMAGES AND COPYRIGHTS Before you place an image within a Web page, you must ensure that you have the legal right to do so. Otherwise, you may violate the owner of the image’s copyright. If you are unsure as to whether or not you have the right to use an image, you should request permission in writing from the owner. If you don’t have permission to use an image, do not place the image on your Web site. Simply finding an image on the Web does not give you the right to use the image. Likewise, changing the image in some way (such as cropping or sizing the image) does not give you permission to use the image. Several sites on the Web provide images on a royalty basis and royalty-free basis. Use a search engine to search for sites, such as Shutterstock, that provide royalty- free images.

GIF IMAGES

DISPLAYING AN IMAGE AS A PAGE BACKGROUND body { background- image:url(" background-repeat:repeat; }

CONTROLLING AN IMAGE BORDER

CONTROLLING AN IMAGE BORDER RADIUS

PADDING AN IMAGE

ADJUSTING IMAGE OPACITY

ALIGNING TEXT AND IMAGES Dog agility is a sport in which a person, called the handler, directs a dog through an obstacle course. The competition is a a race for time and accuracy. Dogs run off-leash with no food or toys as incentives. The handler cannot touch the dog nor obstacles.The handler's controls are limited to voice, movement, and various body signals. An agility course consists of a set of standard obstacles laid out by a judge in a design of his or her own choosing. The course area must be a specified size. The course surface may be of grass, dirt, rubber, or special matting.

POSITIONING IMAGES AT ABSOLUTE LOCATIONS

ROTATING AN IMAGE

REAL WORLD – BROWSER SUPPORT FOR DEVELOPERS

SUMMARY Across the Web, sites make extensive use of graphics images. To place an image within an HTML page, you use the tag. Using various style attributes, you have complete control over image sizing and placement. In addition you learned that when you upload an HTML page to a Web server, you must also upload the corresponding graphics images. Depending on where you place the images on the server, you might use relative or absolute URLs within the tag src attribute. Using various image styles, you learned how to center, border, pad, rotate, and align images.