I am a beginner in HTML and I have been trying to modify certain attributes of a header within a paragraph using classes and ids.
<div class="article">
<h1> I am here </h1>
<p>
where are you?
<h1> I am looking for you. </h1>
</p>
</div>
When I use the .article > h1
selector, it targets both instances of the <h1>
tag. I learned that we cannot target only one <h1>
element. Please assist me with this issue.