|
Posted by Jukka K. Korpela on 09/12/06 06:07
Toby Inkster <usenet200608@tobyinkster.co.uk> scripsit:
> You should probably still keep the <code>...</code> tags though -- as
> this lets browsers know that you're displaying some source code.
Besides, if the page is submitted to automatic translation, then the
translation engine _may_ treat <code> markup as indicating content that
should remain invariant in translation. Some engines do.
> <code><A HREF="http://www.google.co.uk/">Google</A></code>
Some people would say that these days, one should not use uppercase letters
in element and attribute names, since they are disallowed in XHTML.
The use of > for > is merely a common practice for symmetry. There is no
need to "escape" > in HTML. The days when some browsers got this wrong have
gone long ago.
Anyway, as I have often replied in response to the oft-repeated question
"how do I show HTML code on my page", I'd like to tell the OP that if he had
to ask, he's probably not qualified to give others advice on using HTML
markup on his pages.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|