or however you want to put it but it has to have a closing tag.
So I'm made somewhat confused by how html seems to work. Before this lesson the teacher wants us to always close our tags like
But when in this lesson we start adding more headings it doesn't ask for the closing tag, so me being a cheeky bugger thought that it was a mistake or was purposely leaving it out or something to put the closing tag for the additional headings...and that when I clicked save and continue or whatever it would throw an error or something. Not only does it not throw an error, the code seems to work fine.
Which furthermore confuses me. Why put h1 around the entire webpage's content, and then within use other headings to override that - which is what the teacher has instructed it seems? Is there a purpose to that? Or does putting other h1, 2,3,4 etc in an h1 just change the font size to the average between h1 and whatever h# you're referring to? Or is it a straight override? This had me confused. Anyway, here's my code!
<!DOCTYPE html> <html> <head> <title> Headings & Paragraphs </title> </head> <body> <h1> <p>Deezenuts</p> <h3> <p>Wataredoze</p> <h5> <p></p> </h1> </body> </html>