Hyper Text Markup Language (HTML) Question: Download HTML PDF
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 "&" everywhere it occurs. Then replace the "<" character with "<" and the ">" character with ">" in the same way.
Note that it may be appropriate to use the CODE and/or PRE elements when displaying HTML examples.
Note that it may be appropriate to use the CODE and/or PRE elements when displaying HTML examples.
Previous Question | Next Question |
How do I create a link that sends me email? | Should I put quotes around attribute values? |