2

Instead of the usual form

<h1>header1</h1>
<h2>header2</h2>
<h3>header3</h3>
<p>paragraph containing header1 and header2 and header3</p>

would it it matter if i used this form instead?

<p>paragraph containing <h1>header1</h1> 
and <h2>header2</h2> and <h3>header3</h3></p>
  • I think it might be useful to know more about the structure of your web page. I haven't seen header tags used this way so my gut feeling is not to do it, but I can't rule out that it might make sense in broader context. – Maximillian Laumeister Sep 1 at 0:27
  • @MaximillianLaumeister i try to shorten my page by gutting the h1, h2, h3 tags and putting them in the paragraph because all headers will always be used in the paragraph so i thought to handle the repetition by removing the headings from above the paragraph and put tag up the headers inside of the paragraph – Joe Doe Sep 2 at 5:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.