Welcome to the Treehouse Community
Looking to learn something new?
</style> <pre><span class="nt"><h1></span>Gold Play<span class="nt"><h1></span> </pre> </style>
Steven Parker215,939 Points
Your example seems unrelated to the challenge, but just looking at the code itself, remember that tags are used in pairs, with these guidelines:
- opening tags (without /) must come before closing tags (with /)
- a nested element must have both of its tags inside the enclosing element.
- HTML should not appear inside a style element (CSS would)
- the recommended tag for code snippets is code rather than pre
So, assuming your intent is to show what the code for an h1 element looks like (not create an actual h1 element), the code you posted should probably be rewritten as:
<style> </style> <code><span class="nt"><h1></span>Gold Play<span class="nt"></h1></span> </code>