I am working for my own simple website to post the learning in a website. This is really a great way to learn the things along with freecodecamp. But, I am not able to post my codes and scripts as they are to show them in the page. Can you please tell me What is the best way to do that?
xmp tag is not supported by html 5. Is there any good alternative? and better any way to show the block of tags and scripts on web page?
“Use the <pre> element or, if semantically adequate, the <code> element instead. Note that you will need to escape the ‘<’ character as < to make sure it is not interpreted as markup.”
I replaced all of the ‘<’ 's in the quote above with < You can use the live preview of the reply here on the forum to play with it