Advertisement

05.17.2008 at 07:37AM PDT, ID: 23410682
[x]
Attachment Details

XHTML semantics on <ul>

Asked by zemond in Extensible HTML (XHTML), Web Languages/Standards, Hypertext Markup Language (HTML)

Gday Guys,

I have always taken pride in my HTML code, ensuring the markup is correct, cross browser, semanticly correct. etc...
So to my question, can I use a ul, with li's for layout. (now obviously I can but would this be correct), for example we have a layout wich comprises of a header, column left, middle column, column right and footer. Now in terms of layout I guess semantily I should not be doing it, but in terms of data, these columns are seperated for a reason (presentation aside) .Header is reseved for user navigation and company info (banner, logout, myaccount, etc...) column left is for site navigation, middle for the data related to the page (eg about us), and right is related to news regarding the page (about us -> we moved location)

Now currently, divs do these nicely, but I guess so could a ul, or even go as far as dl

Throw your 2 cents in guys, ill award points to any point/argument I find valid.
CheersStart Free Trial
[+][-]05.17.2008 at 11:00AM PDT, ID: 21590246

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Extensible HTML (XHTML), Web Languages/Standards, Hypertext Markup Language (HTML)
Sign Up Now!
Solution Provided By: hielo
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.17.2008 at 11:45AM PDT, ID: 21590378

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628