html - Using CSS how best to display name value pairs? -
should still using tables anyway?
the table code i'd replacing is:
<table> <tr> <td>name</td><td>value</td> </tr> ... </table>
from i've been reading should have like
<label class="name">name</label><label class="value">value</value><br /> ...
ideas , links online samples appreciated. i'm developer way out of design depth.
edit: need able both display data user , edit values in separate (but near identical) form.
i think definition lists pretty close semantically name/value pairs.
<dl> <dt>name</dt> <dd>value</dd> </dl>
Comments
Post a Comment