Help me in solving HTML49A problem

My issue

why being inside the head block will cause h1 to not display ?

My code

685

Learning course: Learn HTML / CSS
Problem Link: Practice Problem in - CodeChef

It’s not about h1 tag bro, It is about style tag, h1 is inside style tag where it shouldn’t be. If you write h1 inside head, It would work without any doubt. But here h1 is inside the style tag. In style tag only CSS has to be written.

1 Like