Jump to content
Sign in to follow this  
Sarfaraj

Just want to know if my HTML code is correct?

Recommended Posts

HI,

Can I take header and article tag inside a section.
I just want to know if my HTML code is correct, please check my code below

<section>
	<header>What happened on this day in History?</header>
	<article>
		<h2>A heading here</h2>
		<p>Some additional information here</p>
	</article>
</section>

<section>
	<header>What happened on this day in History?</header>
	<article>
		<h2>A heading here</h2>
		<p>Some additional information here</p>
	</article>
</section>

 

Share this post


Link to post
Share on other sites

There is already a topic for this question here:

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...