Connecting Tech Pros Worldwide Forums | Help | Site Map

How to prevent HTML from being parsed

Samuel Murray
Guest
 
Posts: n/a
#1: Sep 3 '08
G'day everyone

Do you know if it is possible to use CSS to prevent HTML that is
encapsulated by a certain tag pair from being parsed?

I mean, I would like this:

<p><a href="foo"><b>asdf</b></a></p>

to be displayed as if the code were this:

<p>&lt;a href="foo"&gt;&lt;b&gt;asdf&lt;/b&gt;&lt;/a&gt;</p>

I'm not sure if this is possible but it would be very cool if it were.

Thanks!

Samuel (aka leuce)



Harlan Messinger
Guest
 
Posts: n/a
#2: Sep 3 '08

re: How to prevent HTML from being parsed


Samuel Murray wrote:
Quote:
G'day everyone
>
Do you know if it is possible to use CSS to prevent HTML that is
encapsulated by a certain tag pair from being parsed?
It isn't.

Closed Thread