Extension:AddHTML

Better Option
See Secure HTML extension for a better solution.

Features

 * Secure: only pages restricted on 'edit' to 'sysop' group members can use this tag
 * Inserts HTML code section either through:
 * inline code without the tagged section e.g. code here
 * or through PHP code
 * Parser Cache friendly

Example1
and use an extension such as to populate the section # 'xyz' with HTML code.

Example2
 function disp_prompt { var name=prompt("Please enter your name","t3h h4x0r") if (name!=null && name!="") {   document.write("Hello " + name + "! How are you today?") } }



Security
Pages where 'addhtml' is used must be protected or else an 'unauthorized use of addhtml' message will be displayed.