Would using <p> tags nested in a <h1> tag be bad for SEO purposes?
<h1>
<p>Some title</p>
<p>Some subtitle</p>
</h1>
This would make my life a bit easier, dealing with dynamic page titles.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Search engines may ignore
pmarkup insideh1. Or they might dislike it, doing something nasty. In any case, there is nothing to be gained by using such markup. Instead, you can useYou can then tune the relative sizes by setting
font-sizeonh1 small. You can also setpadding-topon it, if you wish to have more spacing between the parts.Search engines can be expected to treat the
h1element as just containing “some title some subtitle”. If this makes a long heading, they may discard part of it (near the end) or maybe just reduce the relative importance of the contents from the weight that a short heading would have.In any case, you should expects words in headings have relative weight in SEO, relative to other contents on the page, not to the outside world (other web pages).