Hi,
For a project, I am making my own HTML and CSS coding reference web page which means I need to display a lot of HTML code as plain text. This will be laborious if I have to use HTML entities for every < > character. The
tags don’t overcome this. Is there another way? Thanks.
Is there another way?
Thanks.
Hi @rob88blu
You could use the code element.
code
Happy coding
Doesn’t work
20 characters, 20 characters
you will need to use HTML entities then
Maybe try read-only textarea elements?
textarea
Can you post a sample of some of the code you want to format?