Ross Gardler wrote:
Gav.... wrote:
<code></code> is really meant for inline code fragments. If you are
intending for larger sections of code then there is the
<blockcode></blockcode> element [2].
I don't think it the norm to change mod files to suit styling
requirements,
why can you not add italic or whatever to a CSS class ?
You can use class with <blockcode class="italic"> and define the css
for it.
(Unless I have misunderstood what you are doing)
I think Cyriaque wants to do something like:
<code>foo <italic>bar</italic></code>
That is, he wants to highlight a specific part of the code content.
Which means the question is, "is the above legal in XHTML2". If not it
will need to be:
<code>foo <span="new">bar</span></code>
which is certainly legal in XHTML2
Ross