> Ben Ward <pre> is semantically pretty sound > for this, since code is pre-formatted and some languages are > white-space sensitive, for example.
To split hairs, though, the problem with <pre> seems to be that it appears very much like a presentational, rather than a semantic element. Any semantics seem to be inferred by the fact that the content is preformatted, which is a rather weak argument...by the same rationale, one might as well say that <B>, <I>, <U> etc are semantic. Heck, even the spec's definition 'The PRE element tells visual user agents that the enclosed text is "preformatted".' http://www.w3.org/TR/html4/struct/text.html#edef-PRE strikes me as purely presentational. Patrick ________________________________ Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************