Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Can't code after <iframe>

Hello

I have just recently finished entering an iframe to another page in HTML.

For some reason it will not let me code after the iframe. Once I take the iframe away, I can code as normal. Any ideas folks?

Here's what I have:

<iframe height="200" width="600" src="Example Stuff/iframeexample.html"</iframe>        

</div>
    <hr>
    <p>Checking if this paragraph works</p>

The ending div tag is just closing the div that the iframe was part of. I had other code in the div that isn't relevant to this problem.

Thanks folks:) Dan

Sorry guys. Just realised I never closed the first tag. That solved it:)

1 Answer

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Hi Daniel Macleod,

Glad you were able to fix this! I'm just answering here so that this post isn't in the "unanswered" section anymore. :)