HTML CODE

  • Unknown's avatar

    Hello ,, I am trying to insdert HTML code into the website. I inserted Custom HTML block & typed the HTML code.
    When I click Preview; it shows me how it looks like. But when I click Update & check the website page, it shows text.

    Can you please help me here ?

    WP.com: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to moderators and staff)

  • Unknown's avatar

    Hi there!

    We limit what code you can add to your site on the Free and Starter plans. You can see what HTML tags are allowed here:

    https://wordpress.com/support/code/#html-tags

    Otherwise, can you let us know what page you’re trying to add this code so we can take a closer look? Thanks.

  • Unknown's avatar


    Tradesperson Sign Up


    <!– ———————————————————————- –>
    <!– NOTE: These fields are optional debugging elements. Please uncomment –>
    <!– these lines if you wish to test in debug mode. –>
    <!– –>
    <!–
    <!– value=”(email visible only to moderators and staff)”> –>
    <!– ———————————————————————- –>

    Category of Work:

    Sub-category of work:

    Certifications:

    Do you have Driving License?:

    Commute Distance:

  • Unknown's avatar

    Thanks! The part of the problem is that you’re including <head>, <body>, <html>, and CSS code.

    However, as stated on the above-linked support document, you can’t use <form> on a non-plugin enabled site (which requires the Pro Plan):

    The following tags are not allowed on sites that do not have a plugin-enabled plan for security reasons:

    embed, frame, iframe, form, input, object, textarea, style, link

    Since it looks like you’re just trying to create a contact form, you may want to create one using the Form Block instead: https://wordpress.com/support/wordpress-editor/blocks/form-block/

    I hope that clarifies things!

  • The topic ‘HTML CODE’ is closed to new replies.