Image XHTML tag


Images must contain
 

Image
Transitional   Strict
<img  /img> tags example tags example
Must contain src="" <img src="space.jpg"  /> As Transitional  
width="" <img src="space.jpg" width="200"  /> As Transitional  
height="" <img src="space.jpg" height="150"  /> As Transitional  
alt="" <img src="space.jpg" alt="Space" /> As Transitional  
example   <img src="life_space.jpg" width="200" height="150" alt="Space" />
 
 
 
           
<img /img> tags example     example
May contain id="" <img src="space.jpg" id="Space" />   As Transitional  
title="" <img src="space.jpg" title="Space" />   As Transitional  
  longdesc="" <img src="space.jpg" longdesc="test.html" />   As Transitional  
May contain
Transitional ONLY
name="" <img src="space.jpg" name="Space" />      
border="" <img src="space.jpg" border="2" />      
           
Must Not contain
Strict
      name="" <img src="space.jpg" name="Space" />
      border="" <img src="space.jpg" border="2" />
           
           

Image may be contained in
 

 contained by Tag Example
  <div>  <div><img src="space.jpg"  /></div>
  <span> <span><img src="space.jpg"  /></span>
  <p> <p><img src="space.jpg"  /></p>
  <td> <table><tr>
<td ><img src="life_space.jpg" width="200" height="150" alt="Space" /></td>
</tr></table>
  <a> <a href="http://www.site.com"><img src="life_space.jpg"  /></a>
     
 Not contained by Tag Example
  Header
<h1></h1> 
all <h1> to <h6>
<h1><img src="space.jpg"  /></h1>
  <ul>, <ol>,   
  <em>  
  <strong>