WordPress Heading Tags: H1, H2 - How And Why To Use Them
Có thể bạn quan tâm
Headings in any page, be it print or screen, instantly make it more readable. They serve as visual cues, and the essence of an article is immediately obvious. Many readers simply skim the content, and pay more attention only to that portion of the text that is captured by the heading that interests them. But it’s not only readers who like headings, search engines too look for them. And in today’s post, we’ll see how WordPress Heading Tags can be used to improve both readability and SEO.
(We’ll be keeping the discussion here to HTML4 tags without venturing into HTML5 space, because it’s a little more complicated there. Also, this post is more about WordPress heading tags within the WordPress Editor, and not about the title tag or page heading.)
Distinguishing between tags, the <title> tag appears in the browser’s address bar and is invisible on the webpage, whereas the <H1> tag displays as the webpage’s title. Typically, titles and H1 headings align but can vary. To see the post’s H1 tags, press CTRL + U, then CTRL + F, and search for <H1>. This shows how headings are used to optimize both user engagement and search performance.
What are heading tags?
We normally think of headings as a method of styling the fonts – bigger size font, bold fonts or italics. But while using headings in HTML, we structure it using heading tags. Heading tags are HTML markup used for differentiating headings and sub-headings from the rest of the text in your content. As Google describes it in their Starter Guide.
Heading tags (not to be confused with the HTML tag or HTTP headers) are used to present structure on the page to users. There are six sizes of heading tags, beginning with <h1>, the most important, and ending with <h6>, the least important.
So you have the maximum size heading at H1 and this is usually reserved for the first level heading of a post or page or for important content on the homepage. Most CMS’s, including WordPress, add the H1 tag automatically to the title of a blog post. But sometimes a theme can alter this setting. If that’s the case, you can change it in the theme template files.
H2 is used for breaking up the H1 content into easily digestible bits. This is how it appears in the Code Editor:
Use H3 for breaking up each H2 content. Rarely do headings reach the H4 level or beyond.
Why you should use heading tags?
Headings in webpages perform pretty much the same functions as they do in a print format. However, when it comes to webpages, headings are not just about appearance. They also help search engines to find the page. Google scans your post for content relevant to the searched words, and looks within the heading tags to see what the content is all about. We should make it easier for Google to find those words.
A title tag informs both users and search engines what the topic of a particular page is. Ideally, you should create a unique title for each page on your site. Heading tags tell a search engine how the various text blocks are connected and their interrelation. Once you know this, it’s easy to understand why your keyword must find a place within the tags. Google perceives this content as most relevant for the search and this will likely improve your search engine rankings.
To say that heading tags are crucial for SEO rankings would be overstating it. To say that heading tags add SEO value is more appropriate. In the last few years, more weightage is being given to authoritative content as a ranking factor. However, Google finds the keywords more easily, if they are wrapped in heading tags. And hence heading tags are an important on page SEO factor that you do not want to overlook while optimizing your webpages.
If you’re looking for ways to improve SEO on your website, look up our earlier post on Getting Started with WordPress SEO.
Adding heading tags in WordPress
You can add header tags in WordPress in 4 ways:
1. Using the Heading Block
One of the simplest ways to add header tags in WordPress is by clicking the “+” button to add a new block and select “Heading” from the dropdown list of blocks. You can then type your heading text directly into the block and choose the heading level (H1, H2, H3, etc.) from the toolbar.
2. Add a heading tag by transforming another block
If there is another block with text (such as a Paragraph) that you wish to covert to a heading, click on the block and on the “Transform to” button. Choose “Heading” from the dropdown menu to change the block type.
The text now appears as a heading.
3. If you’re more comfortable working with the keyboard, use a keyboard shortcut
While typing in any block, use a keyboard shortcut to quickly change that block into a heading by typing “/heading” then Enter. This will automatically transform the block into a heading block.
4. Staying with the keyboard, you can also use the octothorpe or hash keys.
- ## followed by text – for H2 tags.
- ### followed by text – for H3 tags.
- ###### followed by text – for H6 tags.
Best practices for working with heading tags
- Normally we use only one H1 tag for a page, and you’ll most likely find it for the heading.
- H1 to H3 tags should suffice on most pages. H4 – H6 tags may be stretching it a bit, unless the page is really text heavy.
- Maintain hierarchy while using the heading tags, meaning use the tags in numerical order H2, followed by H3, H4… Don’t skip a level.
- Ensure that your keyword is included in H2. This is because Google looks for keyword presence in the title and keyword density in the content while searching and ranking content. There’s no necessity for exact keyword match.
- Keep a limit for the number of words that you cram between the header tags. Don’t pack in whole sentences or paragraphs.
- It’s not advisable to use the same keywords in heading tags across different webpages on your site.
- Do not use header tags simply to make some elements standout. To style any specific element on your website, use CSS.
Final words
Heading Tags are important for webpages and can make a big difference to readability and search engine visibility. They need to be contextual, to stress the importance of content. Use them sparingly on a webpage to capture the essence of the content in a single phrase. Most of all, it’s so easy to practice headings, so let’s do ourselves a favor by using them.
If you have any questions in relation to WordPress heading tags and how to use them, feel free to submit them in the comments below.
Was this article helpful? Yes No Thanks for your feedback! Yay! 🎉 You made it to the end of the article!Từ khóa » Blog H1 H2
-
How To Use Headings On Your Site - Yoast
-
Should You Use H1, H2, Or H3 Tags In Blog Posts? - Blogpros
-
Header Tags: A Simple (But Complete) Guide To H1, H2 And H3 Tags
-
How To Use H1, H2, And H3 Header Tags For SEO Effectively
-
H1 Vs H2 Vs H3: What Are Heading Tags And How To Use Them?
-
How To Create The Perfect H1 Tag For SEO - Neil Patel
-
Why Use H1, H2, H3 Tags For Your SEO? - Semji
-
How To Use Header Tags (H1-H6) In Your WordPress Blog - SiteCare
-
How To Use Header Tags And H1 Tags For SEO - Semrush
-
How To Use Header Tags (H1/H2/H3 Headings) - Bubbli Digital
-
SEOptimer's Guide To Header Tags
-
Should I Start With An H1 Or An H2 Tag In A Blog Post? - Quora
-
GCE A-Level Singapore - H1, H2 And H3 Explained - Tutopiya
-
How To Use H Tags Correctly For SEO And Your Readers
-
HTML Heading Tags: The SEO Guide For H1 - H6 - SE Ranking
-
How To Change My Blog Titles From H2 To H1
-
How To Use H1 Tags And H2 Tags To Maximize SEO - Boosted Lab