This will happen if you added the copy/paste code in the "Visual Editor" view. While editing your pages, please click on the "Code Editor" tab, and paste the HTML code into here.