Lesson 7 Graphics.

Slides:



Advertisements
Similar presentations
Working with Images and HTML
Advertisements

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.
Lecture HTML Images. Use for Images Photos and Graphics Buttons for Navigation Bullets for Lists Backgrounds Symbols and Icons Logos.
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.
ICT for IGCSE – Syllabus Cambridge IGCSE ® Information and Communication Technology0417 Other web pages In own website New window Same page.
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.
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.
Lesson 6 Links. Creating Folders  For every web site/page, you need to create a separate folder  The computer cannot find links if they are not stored.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
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.
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)
Images, Hyperlinks, and Sound Module 2: XHTML Basics LESSON 3.
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.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
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.
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.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
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”
Creating Links. The Anchor Element: The anchor tag can be used in three different ways: 1.External link – to link to a web page outside your own website.
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.
Web Design–Part 2 Links, Graphics, Tables, and Color Explorers Guild May 25, 2000.
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.
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.
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.
AGB 3/26/121 ++=. 2 Yes, believe it or not this is a complete webpage. It has a Head, Title and Body between the start and end HTML Tag.
Lesson 6 Links. Creating Folders  For every web site/page, you need to create a separate folder  The computer cannot find links if they are not stored.
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.
Open the index.html Open this PowerPoint from the S Drive IDT folder Chapman Images.ppt.
GRAPHICS. PURPOSE OF GRAPHICS IN WEB DESIGN Graphics add visual/aesthetic appeal to the information on the web page, helping to maintain viewer interest.
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.
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
ENHANCE YOUR WEBSITE. HOW TO INSERT COLOR??? USE THE TAG: GO TO PICK COLOR WANT BY POINTING: THEN USE THE HEX NUMBER.
HTML Basics.
Exploring Computer Science - Lesson 3-4
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Images, Hyperlinks, and Sound
Images.
Images.
Exploring Computer Science - Lesson 3-4
Images in HTML PowerPoint How images are used in HTML
Hosted by Coach Slanina
HTML Lesson 3.
Web Design and Development
Exploring Computer Science - Lesson 3-4
Adding Images to Your Web Page
HTML Images CS 1150 Spring 2017.
Adding Images.
Enhance your website.
Putting Images on Your Web Page
Graphics (Characteristics 1)
Basic HTML and Embed Codes
Images.
Images.
Images, Hyperlinks, and Sound
Images.
HTML Images CS 1150 Fall 2016.
Adding Images.
Adding Images.
Hyperlinks, Images, Comments, and More…
Adding Images.
Adding Images.
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

Lesson 7 Graphics

Using graphics What would a web page be without graphics? BORING Two formats keep files small but maintain quality .gif files .jpg files You can use other graphics, but you should convert them to one of these two formats first

Image tag The image tag <img> is an empty tag Image tag attributes include Src – identifies the image and tells the browser where to find it Height – specifies how tall Width – specifies how wide

Source (src) attribute This helps the browser find your image. If the browser cannot find the image, it will display a red x to your viewer. This is why it is important to store your images in the same folder as your web page. The tag looks like this <img src=“name of picture.jpg”>

Try it Go to the Gettysburg Address page Click on the link to the George Washington biography Right click on the picture of George Washington and choose Save Target As Save the graphic to your Gettysburg folder as george.jpg.

Image Source Now, let’s add the picture of George Washington to the Gettysburg Address page. Use the img src code and the file name to add his picture somewhere on your page. <img src=“george.jpg”> Remember, it must be in the same folder as the page for the browser to find it.

Removing borders If you don’t want a border around a graphic, you must include the instruction in the image tag by defining the border as zero. <img src=“name of image” border=“0”>

Placing your graphic To place a graphic on your page, you need to add some attributes. Height and width – if you don’t specify, the browser will stretch it or reduce it to fit. If you provide a height and width, it doesn’t take the browser as long to pull up the page.

Height and width attributes Height and width attributes are measured in pixels. An example of code looks like this: <img src=“george.jpg" width="149" height="140“>

Align attribute You can also use the align attribute to place an image on your page. Using the align attribute with an image tag looks like this: <img src=“george.jpg" width="149" height="140" align=“right”> This would align your image at the right of the page.

Let’s try this: Change the size of your George Washington picture and right align it on the page using the appropriate attributes in your image tag.

Making your graphic a link You can combine the anchor tag and the image tag to make your image a link. You can make any picture a link by placing the anchor tags around the image code. It might look like this: <a href=“http://www.mountvernon.org”><img src=“george.jpg" width="149" height="140" align=“right”></a>

Copyright You should never use any graphics, images, text or photos without permission. There are sites on the Web where you can receive free images. NEVER copy material unless the site says you can or you personally have received permission.

Add pictures to Gettysburg page You now need to practice your new skill by adding pictures of the presidents on the Gettysburg page in an appropriate and logical place. Don’t forget to add one of Abraham Lincoln in addition to those presidents listed.