ReadMe.txt
01-18-2004, 01:33 PM
Well i'm trying to make my markup more semantic, so i've got a few questions for tips on what tag to use where.
First off - form field hints:
<label for="offset">GMT offset <span class="hint">GMT time is: 1:26pm</label><input type="text" name="offset" id="offset" size="5" maxlength="5" />
anyone think of something better to use for the span?
Next one - dates
<div class="newsItem">
<h3>Some newer News</h3>
<span class="newsDate">21/12/03</span>
<p>...</p>
...
</div>
Once again, any ideas for a more sematic tag to use for the date?
Last main one - page comments
<blockquote class="comment">
<p>
<a href="/members/viewuser.htm?userID=4" class="comm">ReadMe said:</a><br />
testing...<br />
<span class="commDate">[05/10/03 2:41pm]</span>
</p>
</blockquote>
This one just seems very bad semantics full stop, any tips on what to use instead.
Just another couple of minor notes on the same topic, the <kbd> element indicates text to be entered by the user - shouldn't that mean it should be rendered similar to a textarea or a text input box? also <dfn> is described as containing the defining instance of the enclosed term, what does that even mean.
And a final point to think about - semantically, how should a forum thread be marked up?
First off - form field hints:
<label for="offset">GMT offset <span class="hint">GMT time is: 1:26pm</label><input type="text" name="offset" id="offset" size="5" maxlength="5" />
anyone think of something better to use for the span?
Next one - dates
<div class="newsItem">
<h3>Some newer News</h3>
<span class="newsDate">21/12/03</span>
<p>...</p>
...
</div>
Once again, any ideas for a more sematic tag to use for the date?
Last main one - page comments
<blockquote class="comment">
<p>
<a href="/members/viewuser.htm?userID=4" class="comm">ReadMe said:</a><br />
testing...<br />
<span class="commDate">[05/10/03 2:41pm]</span>
</p>
</blockquote>
This one just seems very bad semantics full stop, any tips on what to use instead.
Just another couple of minor notes on the same topic, the <kbd> element indicates text to be entered by the user - shouldn't that mean it should be rendered similar to a textarea or a text input box? also <dfn> is described as containing the defining instance of the enclosed term, what does that even mean.
And a final point to think about - semantically, how should a forum thread be marked up?