WordPress.org

Ready to get started?Download WordPress

Forums

annoying <p> and <br> tags (2 posts)

  1. passegua
    Member
    Posted 4 years ago #

    I cannot correctly publish a javascript since WordPress editor adds useless html <p> and
    .
    Here is my example:

    After checking, the code was not correctly put. In your page the code is:

    <script language="JavaScript" type="text/JavaScript">
    novelgames_gameID = '143';
    novelgames_siteID = '4488';
    novelgames_language = 'e';</p>
    <p></script>
    <script language="JavaScript" type="text/JavaScript" src="http://www.novelgames.com/flashgames/game.js"></script>

    which is not correct, please remove the </p> <p> and

    How could I insert that code without <p> and
    ???
    Thanks.

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    http://codex.wordpress.org/Using_Javascript

    looks like you need to take some steps to use javascript in posts

Topic Closed

This topic has been closed to new replies.

About this Topic