Jump to content

HTML Symbols: displaying a text as it is


smus

Recommended Posts

How to display a text as it is in HTML using only HTML tags? For example, I want special symbols like & not to be interpreted by browser as &, but display as &

All I found is a deprecated <xmp> tag, it works, but it creates a new paragraph for every symbol.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...