Hacker News new | past | comments | ask | show | jobs | submit login

How is this different from a <pre> tag?



Markup is still parsed inside a <pre> tag. <xmp> is more like CDATA.


<pre> does the formatting, but not the escaping.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: