[Plugin: Comment Form Quicktags] What is purpose of the code tag? (2 posts)

  1. CallUp
    Posted 6 years ago #

    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.


  2. Regen
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic