html - Semantically correct XHTML markup -


Just trying to hang in horizontally using the correct XHTML markup.

Just writing code for a small navigation item where each button is effectively a title and a descrption. I thought a definition list would be great, so I made the following

  & lt; Dl & gt; & Lt; Dt & gt; Import Image & lt; / Dt & gt; & Lt; Dd & gt; Read new image names for the database & lt; / Dd> & Lt; Dt & gt; Exhibition management & lt; / Dt & gt; & Lt; Dd & gt; Create / Delete an exhibit & lt; / Dd> & Lt; Dt & gt; Image management & lt; / Dt & gt; & Lt; Dd & gt; Edit Name, Medium, and Exhibit Data & lt; / Dd> & Lt; / DL & gt;  

But ... I should have up to 3 buttons, each button that has DT and DD text. How can I do this with the right code? Generally I will make each button a div and use the behavior of that view button (onhour and current page selection stuff).

Any advice please

thanks

  & Lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "#" headline = "Read in new image names for database" & gt; Import Image & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" title = "Create / Delete an Exhibit" & gt; Exhibition management & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" title = "Edit Name, Medium and Exhibit Data" & gt; Image management & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt;  

Good enough for navigation & lt; Dl & gt; Using is not very smart or & lt; Li & gt; & lt; with description inside Span & gt; Use & lt; Dd & gt; will give you more headaches because they are & lt; Dt & gt; and do not care about their position and style


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -