Latest Courses View All

My Skills

My Interests

What I want to learn more about

posted message:

FWIW, when using jsFiddle you should not put <html> or <body> tags into the HTML panel. For each of the three panels (HTML, CSS, JavaScrpt) you only put the code that would be placed inside the corresponding <body>, <style> or <script> elements.

If you look at the assembled result of the posted fiddle, the unnecessary <html> and <body> wind up being inserted into the real <body> of the fiddle: