• Hi
    My purpose: insert HTML &CSS in the new Post on Text mode
    My problem: HTML & CSS in the Text mode does not execute.
    Can anyone helps me to solve this?
    Tks so much.

    Detail
    1. I add a new post

    2. I insert HTML & CSS code in Text mode like this

    <!DOCTYPE html>
    <html>
    <head>
    <style>
    h1 {
        color: blue;
        font-family: verdana;
        font-size: 300%;
    }
    p  {
        color: red;
        font-family: courier;
        font-size: 160%;
    }
    </style>
    </head>
    <body>
    
    <h1>This is a heading</h1>
    <p>This is a paragraph.</p>
    
    </body>
    </html>

    and then I switch on Visual mode and switch back Text mode, I see the HTML& CSS code CHANGE like this

    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <h1>This is a heading</h1>
    <p>This is a paragraph.</p>

    3. Result that code HTML & CSS does not execute.

  • The topic ‘HTML code in Text mode does not appear when add a new Post’ is closed to new replies.