You are here:    Home » KidSpace » Learning HTML

KidSpace Home

Ask an IPL Librarian

Librarians' Internet Index

Library Locator

Subjects

Reference
The World
Computers
Health & Nutrition
Reading Zone
Math & Science
Art & Music
Sports & Rec.
Fun Stuff

Features

Science Fair
Stately Knowledge
Learning HTML
Orca Search
Poison Prevention
Author Page
Culture Quest
Story Hour
Say Hello
U.S. Presidents

Valid XHTML 1.0 Transitional

Valid CSS!

Ask an IPL Librarian
Have a question? Ask an IPL Librarian!
(Use our Contact Us form for questions/suggestions about our site.)

Graphics and Images

Want to spice up your web page with some graphics and images? All you need is the image tag, <img>, and the source attribute, src, and a filename for the value. For example, I have an image of a goldfish bowl on on my computer's hard drive in the same folder with my HTML documents. And, I want to tell the web browser to"put the picture of the goldfish bowl on the web page right here, right now."This is how I would do it:

<html>
<head>
<title>Learning HTML</title>
</head>
<body>
<img src="GoldfishBowl.gif" />
</body>
</html>

Want to make the image bigger? All you have to do is specify a width and height attribute, as well as a value for each:

<html>
<head>
<title>Learning HTML</title>
</head>
<body>
<img src="GoldfishBowl.gif" width="75" height="75" />
</body>
</html>

Want to center the image on the web page? Just add a pair of center tags:

<html>
<head>
<title>Learning HTML</title>
</head>
<body>
<center><img src="GoldfishBowl.gif" /> </center>
</body>
</html>

Pretty cool, huh?

There are tons of places to find images and graphics for your page.

When you do find something that you want to include on your page -- whether images, graphics, or even text -- you need to make sure that it is not copyrighted. To better understand, let me explain some more about copyright… right arrow

This resource originally created by Deborah Dunk.
Revised and edited by Michael Galloway in 2005 & in 2006.

Updated on 11 Jun 2009

What is the IPL?

The Internet Public Library is a public library for the world wide web.
Students from a consortium of colleges and universities with programs in information science develop and maintain the IPL!
Here are some of the partners in the IPL Consortium. A complete list is found on the IPL Consortium page.

The iSchool at Drexel Florida State University College of Information
University of Illinois at Urbana-Champaign Graduate School of Library and Information Science Rutgers School of Communication and Information Studies University of North Carolina at Chapel Hill School of Information and Library Science University of Pittsburgh School of Information Sciences
Syracuse University School of Information The University of Texas at Austin - School of Information The Information School - University of Washington

The Internet Public Library is hosted by The iSchool at Drexel, College of Information Science and Technology,
with major support from the College of Information at Florida State University.

 
© 1995-2008 The Regents of the University of Michigan. All rights reserved.
© 2009, Drexel University, All Rights Reserved