I want to make HTML appear as text to maybe write some snippets on a site. I know that there is a way to make < and > by using < and > but I would like something that were a bit easier to remember and quicker like maybe using jQuery to take the content from a snippet and turn it into regular text.
Jump to Post
Oops! I mixed up [code] and <pre>.
Now that I'm firing on two neurons, changing < to $lt; and > to > is the only way to do it. One method:
All 6 Replies
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.