![]() |
![]() |
||
| Tuesday, 06-Jan-2009 15:24:34 PST | |||
Adding ImagesSo, you want to add some images to Your Homepage? This tutorial will give you the tags you need. But, if you need images, be sure to visit our Free Images and Code Page where you can pick up images courtesy of the psnw.com creative team. In order to add images to Your Homepage there are a few things you need:
The Tag: <IMG SRC="_" ALIGN="LEFT"> The Tag Broken Down by Function: <IMG SRC="_"> Instructs the browser to display an image. The _ is not part of the tag, it is being used here as a placeholder for the name and or path of the image file you plan to use. ALIGN="LEFT" Instructs the browser where to place the image. NOTE: The image tag is one the few HTML tags that does not have a closing tag. NOW ... An Actual Image Our image is named "atom.gif," and it's stored in a folder named "images," which is stored in the same folder on the psnw.com server as the HTML file of this page. The HTML for our atom image is this: <IMG SRC="images/atom.gif"> This is how it looks on the Web page:
To control where an image is placed on the Web page, you will need to include the alignment attribute, like this: <IMG SRC="images/atom.gif" ALIGN=RIGHT> Which looks like this on the Web page: NOTE: To align it to the left or the center, simply substitute ALIGN=LEFT or ALIGN=CENTER. Adding a Border Around an Image To add a border around an image, you will need to include the BORDER attribute within the image tag, like this: <IMG SRC="images/atom.gif" BORDER=3> Which looks like this on the Web page: ![]() NOTE: The number sets the pixel size of the border. To change the width, simply change the number. Home - About psnw.com - Reseller Program - jobs@psnw.com Technical Support - Customer Service - Home Services - Business Services Terms of Service - Privacy Policy - Contact Us - Refer & Earn - Site Map [ Privacy Policy ] © 2006 ProtoSource Network. 6615 |
|||||