1.

How Can I Show Html Examples Without Them Being Interpreted As Part Of My Document?

Answer»

Within the HTML example, first REPLACE the "&" character with "&amp;" everywhere it occurs. Then replace the "&LT;" character with "<" and the "&GT;" character with ">" in the same way. 

Note that it may be appropriate to use the CODE and/or PRE elements when displaying HTML examples.

Within the HTML example, first replace the "&" character with "&amp;" everywhere it occurs. Then replace the "&lt;" character with "<" and the "&gt;" character with ">" in the same way. 

Note that it may be appropriate to use the CODE and/or PRE elements when displaying HTML examples.



Discussion

No Comment Found