Jump to content

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>

 

Link to post
Share on other sites
Guest
This topic is now closed to further replies.
×
×
  • Create New...