Web Design Stuff
HTML Tutorials    CSS Tutorials    Web Hosting   Resources
Create a Web Page 101
Making Web Pages Intro What is a Web Page? Why Make a Web Page? The History of HTML Learn HTML or XHTML?
Basic HTML
Basic HTML Tutorials Basic HTML Necessities How to Make a Web Page How to Edit a Web Page The Basics of HTML Tags Basic HTML Page Structure HTML Attributes
HTML Font Codes
HTML Font Codes Intro HTML Font Color Codes HTML Font Size Codes HTML Font Style Codes HTML Bold/Italic Codes Combining Font Codes
Formatting Text
Formatting Text Intro Making Paragraphs Miscellaneous Formatting Headings & Subheadings Creating Hyperlinks
Using Graphics
Using Graphics on the Web Add Graphics to Your Pages Graphics and Accessibility How to Align Graphics Page Color & Background Graphics as Hyperlinks Horizontal Rules
Creating Tables
HTML Tables Tutorials HTML Table Fundamentals Background & Border Color Table Frames & Rules Table Width and Alignment Cells 1 -Space & Alignment Cells 2 -Row Column Span Cells 3 -Width & Height
Making Lists
HTML Lists Tutorials Bulleted Lists Numbered Lists Definition Lists
HTML Frames
HTML Frames Tutorials Using Frames for Layout Advanced Frame Layouts Putting Hyperlinks in Frames Frame Border Width Color, Margin and Control Problems with Frames SmartFrames: A Solution SSI: An Alternative to Frames
Web Page Forms
Making Feedback Forms A Simple Feedback Form Installing NMS FormMail Debugging Your Setup My Web Host is Out to Lunch User Input Components Text Fields Checkboxes & Radio Buttons Dropdown Menus Push Buttons Layout and Presentation
Basic CSS
Basic CSS Tutorials What is CSS? Why You Should Use CSS How to Use CSS Inline Styles Embedded Style Sheets External Style Sheets Class Selectors ID Selectors Combining Selectors
CSS Properties
CSS Properties Intro Font Styles Width, Height & Spacing Borders Backgrounds Position Float & Alignment Hyperlinks
All About Web Hosting
Hosting Your Own Website What is a Web Host? Your Website's Home Page Building a Website Offline About Free Web Hosting Best Free Web Hosting Commercial Web Hosting How to Get a Domain Name Ecommerce Web Hosting Web Hosting Terminology
Free Web Design Tools
Best Free Website Tools Best Free Text Editors Best Free Graphics Editors Free Website Analysis Tools
Setting Up HTML Kit
HTML Kit Introduction How to install HTML Kit Screenshot Breakdown Basic Configuration Overall Appearance Shortcuts and Startup Editing Window Customizing Toolbars Using the Favorites Tab Making a New Actions Bar Odds and Ends
Free Templates
Free Website Templates Two Column Fixed Width Three Column Liquid Layout Miscellaneous Templates Dynamic Menu Effects Two Column Experimental Terms of Use About These Templates
Website Templates Help
Getting Started Template Zip File Download How to Edit Your Template What to Edit in the HTML How to Add Your Logo Making a Website
Web Design Tips
Web Design Basics Tables vs. Tableless Using Tables for Layout Example Table Layouts World's Crappiest Web Page
Twitter Backgrounds
Twitter Backgrounds Intro Cool Twitter Backgrounds Cool Twitter Backgrounds 2 Plain Twitter Backgrounds Dark Twitter Backgrounds Best Twitter Backgrounds Cute Twitter Backgrounds Music Twitter Backgrounds Music Twitter Backgrounds 2 Twitter Backgrounds 101 TERMS OF USE
All About Web Browsers
What is a Web Browser? Mozilla Firefox Internet Explorer Opera How to Set Up Firefox Top 5 Firefox Extensions
 
Contact
Post Some Feedback Send Me An Email Iron Spider Blog About Iron Spider... Site Conventions
 
 
 

 

Using Graphics on the Web

 

laptop (7K)Okay I see by my web stats that some of you are wondering what 'graphics' actually are. Well, graphics refer to images or photos —such as the photo of the laptop to the right of this text— which you can add your website to enhance its appearance . This section of Iron Spider deals with how to use HTML coding to properly add graphics to your web pages as well as how to align them, how to use them in hyperlinks and how to address some accessibility issues.


Best Free No/Low-hassle Stock Photo Sites


If you don't have any graphics to fiddle around with or if you're just looking for some free images to use on your website, here are —in my humble opinion— some of the best free stock photo websites on the net:

  • MorgueFile — Completely hassle free. My personal favorite.
  • FreeStockPhotos.biz — Another personal fave. Mostly hassle-free. (Carefully read the license agreement for each photo/image).
  • PD Photo.org — Small one-man show providing a personal collection 100% hassle-free public domain photos. Excellent quality.
  • Stock.XCHNG — Mostly hassle-free. This is another one of those read-the-fine-print-before-using stock photo sites but definitely worth the trouble.

These are all true free stock photo places. Beware of websites that claim to have a collection of public domain or copyright-free images but have disclaimers saying something to the effect that if you see an image on that site that violates a copyright, send them an email and they'll take it down. Run like the wind from websites like this. If you're intent on becoming a professional webmaster, sites like that will just waste your time.

Okay so now that you've got some graphics, let's get down to the brass tacks of it all. Here's the actual HTML code you use to add a graphic to your web page:

<img src="graphic file name">

This is the bare essential code to get it all happening. You have only to replace graphic file name with the actual file name of your graphic and as long as the graphic file is in the same directory as your web page .html file, you're golden.

I go into much greater detail about all this on the following page:

How to Add Graphics to a Web Page



Other related pages in this section deal with...

 

Graphics and Accessibility


Here's where you'll learn how to make the HTML graphics code user-friendly including specifying alternate text in case the graphic can't be seen for some reason. You'll also learn how to specify dimensions (width and height) in order to speed up page loading and to adhere to web standards...

 

Alignment and White Space


clickmouse (18K)This page will show you how to wrap text around a graphic on your web page like the way the text you are currently reading will eventually wrap around the photo of the computer mouse on the left and continue on the bottom. You can align the graphic to the left or right or you can set a default baseline for where the text rolls out (for example, from the vertical center of the graphic). This is all easily accomplished using the align attribute in your HTML <img> tag. I'll also show you how to adjust the spacing between the graphic and the text using some basic inline CSS code...

 

Page Color and Background


Here's how to add a background image to your web page as well as how to set it so that it stays still while the viewer scrolls down. Also covered is how to adjust the background color of your web page...

 

Using Graphics as Hyperlinks


Graphics can be actually set as hyperlinks which is immensely useful if you want to make some fancy-schmancy buttons for your website's menu. The problem with that however is search engines won't have a clear idea what the web page you're linking to through the graphic is about so it's better, whenever possible, to use text instead of images for hyperlinks on your web page. A better use of graphics as hyperlinks would be if you, say, wished to show a smaller thumbnail version of a photo but then have it so the viewer can click on the photo to display the full size image...

 

Horizontal Rules


This HTML code...

<hr>

...draws a nice divider on your web page called a 'horizontal rule' which can be customized in various ways by the HTML coding I provide on this page. However, if you're looking for some really fancy dividers, you should google "web page dividers"...

 

And finally, if you're looking for info on how to make check boxes or those radio button thingys for web page forms, that's a whole different ball of wax. Please see my page on how to make check boxes and radio buttons for more information on that.






Best Free Stuff
for webmasters

Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates

See also:

Best Free Web Hosting

 

If you need a .COM web address, you can get one quick and easy at...

www.GoDaddy.com
HOME TOP NEXT ~>
 
HTML Tutorials |  CSS Tutorials |  Web Hosting |  Domain Names |  Web Design Resources
Iron Spider © Copyright 2004-2011 Robert Darrell