Alternative to H1 for website title
Matt Ellen-Tsivintzeli

Matt Ellen-Tsivintzeli @mellen

About: Ultra-fullstack software developer. Python, JavaScript, C#, C.

Location:
Earth
Joined:
May 2, 2017

Alternative to H1 for website title

Publish Date: Mar 15
0 0

I have a heading for my website and a heading for my blog articles on the came page.

I know I should only use one h1 per page, and I want to use that for my blog article title.

What is the element I should use for the heading of my website?

My header is currently this:

<header>
      <h1>Matthew Ellen</h1>
      <p>Software Developer</p>
</header>
Enter fullscreen mode Exit fullscreen mode

Should I just use a p and style it like the h1? Is there a better element?

Also, I've read here that it is OK to have multiple h1 elements, if the document is structured correctly, e.g. h1 for the page and h1 for the article.

Does that make sense? Is it accessible?

Comments 0 total

    Add comment