I want to display this code, in my website:
<title>MY_TITLE</title>
I tried to use the <pre> and <code> tags without success. Its wrote that I can't use title tags on those tags.
Again, I want to display this code (This code shouldn't do nothing). Any suggestions?
If you want to display and show HTML code on a web page so that it is not executed, you need to convert the < and > into it's ascii equivalent of < and >
Try following
<title>MY_TITLE</title>
<title> MY_TITLE </ title>
This code has to go inside label "<![CDATA[ "-->code here<--" ]]>"
https://stackoverflow.com/a/7092306/4504069
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With