Home
XHTML
CSS
PHP
MySQL
SEO
JavaScript
Computer Basics
Number Systems
LINUX


XHTML Images

XHTML | Tags | Symbols | Lists | Links | Images | Contact Forms | Declaration

The <img /> tag is a self-closing inline tag for displaying Images. The alt="" attribute is required and declares alternate text if the image does not display for any reason. This image is displayed with a relative path...

<img src="image.jpg" alt="Geese" />

The output to the browser is...


This image is displayed with an absolute path...

<img src="http://www.website.com/image.jpg" alt="Geese" />

The output to the browser is...


The anchor tags can be used to link to an image...

<a href="http://www.website.com/image.jpg">link name</a>

The output to the browser is...

link name


Images can be modified with CSS styles for size and positioning, as defined on the CSS page.




SEO Vancouver, Washington
SEO Portland, Oregon
Website Design Vancouver, Washington