I would have to slightly disagree with Simon Hayter's response. HTML markup plays an important role determining the structural hierarchy of the webpage information. Also helps determine the website truthfulness, whether is delivering or not a good user experience.
The reason why the general advise is to code/write for the user (no for bots) is because each HTML tag represent an element with an specific purpose for the end user.
That being said the <title>
tag will help the user decide whether or not to click on your listing in SERP. This will definitely impact your SEO, because if people is not clicking on your listing, Search Engines will decide not to show your webpage in the SERP.
Then, <title>
tag and meta "description" need to be aligned with the content of your webpage and here is when/why <H1>
and html markup in general plays an important role.
What I recommend you to do
Make sure your <title>
is aligned with the content or the purpose of your webpage and at the same time is designed to encourage people to click through.
Use either <H1>
or <H2>
to get the user attention about the webpage value proposition and make sure to include your main keyword at the start
I will also suggest using <H3>
with a variation of your main keyword
Which one is better?
If "Another WordPress Website" if your brand or blog name I will use your second option:
<head>
<title>My First Post - Another WordPress Website</title>
</head>
<p>Another WordPress Website</p>
<h1>My First Post</h1>
<p>brah brah brah</p>
<p>brah brah brah</p>
<span>Another WordPress Website</span>
or<header>
,<div>
etc would be better fitting Since p defines a paragraph.