Span XHTML tag


Span Transitional   Strict
<span></span> tags example tags example
Must contain in opening tag ---------------------- ---------------------- ---------------------- ----------------------
Must not contain in opening tag name=""    As Transitional

align="left"
align="center"
align="right"
align="justify"


<div align="left"></div>
<div align="center"></div>
<div align="right"></div>
<div align="justify"></div>
Can contain in opening tag id=""

title=""

align=""
<span id="text"></span>

<span title="blue"></span>

align="left"
align="center"
align="right"
align="justify"
As Transitional
As Transitional


Must contain between tags Text 
or non-breaking space
<span>Text</span>
<span>&nbsp;</span>
As Transitional  
Can contain between tags  <span>, <br />, 
 <em>, <strong>, 
<a>,  <img>,
  As Transitional  
Must not contain between tags <p>, <h1 to h6>, <div>   As Transitional  
Must not be contained in     As Transitional  
Can be contained in <p>, <h1 to h6>, <div>
<td>