Which is better to use re server side language? - <div> vs <ul> and <li>
I am designing an online mall and a website that offers free desktop background images. Some of the portions of my website will be dynamic (in that I will use server side language so that the background that will appear on the page will change depending on various factors). Should the dynamic portions of these pages be written using (i) <div> tags or (ii) <ul> and <li> tags? Or does it not matter?
For example, the below code will be dynamic, in that the (i) "Pamper Your Child", (ii) <img src="DELETE_temp images/babies-02.jpg" border="0" alt="" /> and (iii) "Gummy Lump</a></a></a> carries a variety of toys for children" will change depending on which settings the visitor to my website has chosen. Should the three <div> tags with the classes "mall_index_acc_hd1", "mall_index_acc_img" and "mall_index_acc_cont" be replaced with a <ul> and <il> tags?
<div class="mall_index_acc_hd1">Pamper Your Child</div>
<div class="mall_index_acc_img"><a href="#"><img src="DELETE_temp images/babies-02.jpg" border="0" alt="" /></a></div>
<div class="mall_index_acc_cont"><a href="http://www.gummylump.com/">Gummy Lump</a></a></a> carries a variety of toys for children. <span class="bold"><a href="http://www.gummylump.com/"> Shop now »</a></span></div>
Apologies if this question is in the wrong category and a bit general. I have limited knowledge of server side languages.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)