Hello all,

If I have an image which has a relationship to other content within a
containing element how should this be marked up.

For instance:


1.
<div class="person">
 <h2>Person A</h2>
 <img src="person_a.jpg" />
 <ul>
  <li>Big feet</li>
  <li>Small hands</li>
 </ul
</div>

2.
<div class="person">
 <h2>Person A</h2>
 <p><img src="person_a.jpg" /></p>
 <ul>
  <li>Big feet</li>
  <li>Small hands</li>
 </ul
</div>

3.
<div class="person">
 <h2>Person A<br />
 <img src="person_a.jpg" /></h2>
 <ul>
  <li>Big feet</li>
  <li>Small hands</li>
 </ul
</div>

4.
<div class="person">
 <h2>Person A</h2>
 <ul>
  <li><img src="person_a.jpg" /></li>
  <li>Big feet</li>
  <li>Small hands</li>
 </ul
</div>

4. None of the above - use DL instead! ;-)

Thanks

Daz
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to