simple html question
simple html question
Out of context: Reply #7
- Started
- Last post
- 10 Responses
- doctor0
Ideally presentation issues like this should be done using CSS, and not by adding meaningless mark-up. In my oppinion the semantically correct way to fix your problem, would only involve an unordered list <ul>. Do the indents in your CSS.
However you could also use definition lists, partly to fix your problem, ie.:
<dl>
<dt><strong>Phoenix</strong></dt>
<dd>
<ul>
<li>Hotel 1</li>
<li>Hotel 2</li>
</ul>
</dd>
</dl>Everything you need to know about lists: http://www.w3.org/TR/html401/str…