Twenty Eleven
Twenty Eleven HTML deleting in page (3 posts)

  1. brainsick
    Posted 4 years ago #


    Im making my first word press web site, but one thing is driving me insane. This may be an easy question for someone.

    Ive been playing around with trying to put a select element button into a page. The code works in DreamWeaver, but once insert into a WP page it deletes the <head> <body> and <html> tags. How can I fix this or get around it?

    [code moderated - please follow the forum rules for posting code]


  2. Michael
    Forum Moderator
    Posted 4 years ago #

    but once insert into a WP page

    where are you inserting the code?
    into the page content?
    using the html editor mode?

    - there should only be one set of <head> <body> and <html> tags in a web page; so if you are trying to add the code into a page content, reconsider what you are trying to achieve.

  3. brainsick
    Posted 4 years ago #

    Thanks for your reply.

    Yes, trying to insert it into page as content. I assume the tags are already there and can't be added unless going into editor somehow.

    I guess you can't add or change the <head>, <body> and <html> tags on an individual page created?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic