I was just curious what is the purpose of the code tag? Does it allow your users to run javascript and programs within their comments?
Thanks for your help.
I was just curious what is the purpose of the code tag? Does it allow your users to run javascript and programs within their comments?
Thanks for your help.
The code tag cannot run any program such as Javascript. Instead, the script tag is used for this purpose.
The code tag is used for showing that its content is not text but code.
WordPress removes the script tags so there is no security problem.
This topic has been closed to new replies.