What xhtml element to use?
Posted: Fri Sep 01, 2006 12:36 pm
I have a message posting board, similar to a very simple forum. And it lists the title of the message, a snippet and then under that it simply says:
"Posted By: {username here}"
Since this "posted by" line is a block level element (on its own line) I am now wondering what xhtml element(s) to assign to this?
I had it originally in a <p> tag but it certainly is not a paragraph. The only other option I can see is using a <dl> definition list perhaps... kinda like:
<dl><dt>Posted By:</dt><dd>{username here}</dd></dl>
Any suggestions as to what I should use? I want to comply with web standards/accessibility as much as humanly possible. Thanks.
"Posted By: {username here}"
Since this "posted by" line is a block level element (on its own line) I am now wondering what xhtml element(s) to assign to this?
I had it originally in a <p> tag but it certainly is not a paragraph. The only other option I can see is using a <dl> definition list perhaps... kinda like:
<dl><dt>Posted By:</dt><dd>{username here}</dd></dl>
Any suggestions as to what I should use? I want to comply with web standards/accessibility as much as humanly possible. Thanks.