Skip to content

How to Use HTML5 Semantic Tags to Improve Your SEO?

HTML5 Semantic Tags to Improve SEO

HTML5 is officially around there since late 2014 and currently using in more than 80% of all websites. Have you ever thought why it is important to use in your website?

The answer is simple, it helps to improve your SEO. HTML5 usage semantic tags which helps search engines to understand your website structure better. So it has more than the canvas element which you may heard before, have used by many developers for development purposes. But here I will discuss how it can be helpful to get a higher ranking in search engine for you if you have a site already or planning to start one. Additionally, if you ever need additional help in your SEO projects you can always hire a freelance SEO developer from Toptal. Toptal is a marketplace for top SEO developers, engineers, programmers, coders, architects, and consultants.

Structural Element or Semantic Tags

Back in the day designers have only div element to create the structure of a HTML page and most of them followed same method to categorize each section of a page. The method was to add class names to divs similar to their features.

<div class=”header”>

<div class=”nav”>

<div class=”footer”>

So people in w3c noticed that and implemented few semantic tags in new HTML5 to help categorize each section of a page better for designers.

The header Element

The header element is used to represent an introductory section of the page or articles. It means you may have one or more header tags in a page. Mostly it can be used to wrap the content of top of the page, such as logo, navigation menu and other header content can be wrapped into this tag. Also you can use it multiple times in a page to define head of any article or self-contained content.

<body>
  <header>
    <div class=”logo”><img src=”images/logo.png” /></div>
    <nav>
      <ul>
        <li><a href=”index.html”>Home</a></li>
        <li><a href=”about.html”>About</a></li>
        <li><a href=”contact.html”>Contact</a></li>
      </ul>
    </nav>
  </header>
……….
</body>

When using this element more than one time in a page for articles head, then you can use it to wrap heading tags <h1>, <h2>, <h3> and meta data regarding the article such as article posting date.

The nav Element

The nav element is used to wrap main navigation menu of a page, not the links in footer or sidebar area.

<nav role=”navigation”>
  <ul>
    <li><a href=”index.html”>Home</a></li>
    <li><a href=”about.html”>About</a></li>
    <li><a href=”contact.html”>Contact</a></li>
  </ul>
</nav>

Note that here I have used the ARIA role=”navigation” attribute to make it significant to old browsers and programs like screen readers who don’t support the element.

 The main Element

The main element should use to wrap the content which is unique to a specific page or document and should not include logo, footer, sidebar or any other content which is repeating itself in other pages of the site.

<main role="main">
  <h1>Guitars</h1>
  <p>The greatest guitars ever built.</p>

  <article>
    <h2>Gibson SG</h2>
    <p>...</p>
  </article>

  <article>
    <h2>Fender Telecaster</h2>
    <p>...</p>
  </article>
</main>

The section Element

The section element is can be used to wrap group of content. It is recommended to add heading tags within every section element. This element maps to the ARIA role=”region” and region is defined as:

A large perceivable section of a web page or document, that is important enough to be included in a page summary or table of contents.

<section>
  <h2>The main Element</h2>
&nbsp; <p>...</p>
</section>

<section>
  <h2>The article Element</h2>
&nbsp; <p>...</p>
</section>

<section>
  <h2>The section Element</h2>
&nbsp; <p>...</p>
</section>

The article Element

The article element is used to wrap a group of content which is self-contained and can be out of the context of the page. It is similar to section element, the only difference is that it should contain an independent content. We can use it to include things like news, articles, blog posts etc.

<article>
  <header>
    <h1>Article Title</h1>
    <p>Posted on 29th February 2016</p>
  </header>

  <p>
    ...
  </p>
</article>

The aside Element

This element is used to represent the content which is related to the content of the whole page, but also it can stand out by its own if separated. It can include things like sidebars, Quotes or advertisements that relates to the content of the page.

<article>
  <header>
    <h1>Google Buys Nest</h1>
    <p>Posted at 11:34am 13th January 2014</p>
  </header>

  <p>...</p>

  <p>...</p>

  <aside>
    <h1>Google (GOOG)</h1>
    <p>Google was founded in 1998 by Larry Page and Sergey Brin. The company...</p>
  </aside>
</article>

The footer Element

As the header element replaced div class=”header”, footer element is also doing the same by replacing div class=”footer”. This tag is used to wrap the closing content of the page or any section of the page. It is normally used for footer links, copyright information and social links.

<footer>
  Copyright Pradip Debnath 2016
</footer>

The address Element

By the name of this tag people consider that it can only be used for postal addresses. But It can actually be used to wrap up all types of contact information such as email address, website link.

<address>
  Contact <a href="mailto:itzpradip@gmail.com">Pradip Debnath</a>
</address>

With this tag I have completed the discussion of sectioning elements or tags of HTML5. Also there are several other tags are available which are media elements such as video, audio tag and graphics element like canvas, svg tag.

Benefits in SEO

As you may have already understood by the tags which I have mentioned above, it will help understand a page similarly by both user and search engine crawlers. By doing few changes to the HTML codes of your existing website you can get a boost in your ranking in search engine.

Before divs are used to make the page, but div is a general purpose tag which doesn’t specify any section of the page. You can use CSS to design the page as per your choice to provide better user experience, but that will not make a better experience for search engines. Actually search engines scans HTML versions of the page and store it to their database to give the results to searches. So HTML markup is very important to get better rank on search results.

HTML5 gives a page proper segmentation by which search algorithms can identify the priority and importance of the content of the page. If you follow the rules and change the markup of your page according to HTML5 then definitely you’ll see a measurable boost in your search ranking.

boost ranking html onpage seo

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Pradip Debnath

I am a web enthusiast & learner, who works as a Freelance WordPress developer and Digital Marketing consultant.

Subscribe My YouTube Channel

Recent Posts

  • How to Implement Google Login in React Native with Firebase
  • How to Implement Email Authentication in React Native using Firebase
  • How To Add Page Template From Plugin in WordPress
  • WordPress REST API Tutorial: Add New Custom API Field
  • How To Add or Update WordPress Plugin SVN Repository with CLI

Categories

  • Blogging
  • Digital Marketing
  • Mobile App Development
  • React Native
  • SEO
  • Web Design
  • Web Development
  • WooCommerce
  • WordPress

Contact Info

itzpradip[at]gmail[dot]com

代做工资流水公司淮安代开背调银行流水上饶企业对公流水模板曲靖制作个人流水宁波企业对公流水代做西宁查询工资流水账单南昌流水模板威海打工资代付流水临沂制作流水账单九江流水样本泉州银行流水制作蚌埠贷款银行流水图片湘潭对公银行流水公司昆明查车贷工资流水阜阳收入证明模板长沙银行流水单代做北京企业对公流水代开宁德房贷流水费用威海办签证工资流水台州办理个人流水长沙房贷银行流水 样本扬州个人流水价格嘉兴签证银行流水 图片德阳背调流水公司泰安工资流水app截图开具西宁入职银行流水多少钱南京入职银行流水代做江门银行流水账单模板南宁查银行流水修改三亚代开在职证明济南查流水香港通过《维护国家安全条例》两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”19岁小伙救下5人后溺亡 多方发声卫健委通报少年有偿捐血浆16次猝死汪小菲曝离婚始末何赛飞追着代拍打雅江山火三名扑火人员牺牲系谣言男子被猫抓伤后确诊“猫抓病”周杰伦一审败诉网易中国拥有亿元资产的家庭达13.3万户315晚会后胖东来又人满为患了高校汽车撞人致3死16伤 司机系学生张家界的山上“长”满了韩国人?张立群任西安交通大学校长手机成瘾是影响睡眠质量重要因素网友洛杉矶偶遇贾玲“重生之我在北大当嫡校长”单亲妈妈陷入热恋 14岁儿子报警倪萍分享减重40斤方法杨倩无缘巴黎奥运考生莫言也上北大硕士复试名单了许家印被限制高消费奥巴马现身唐宁街 黑色着装引猜测专访95后高颜值猪保姆男孩8年未见母亲被告知被遗忘七年后宇文玥被薅头发捞上岸郑州一火锅店爆改成麻辣烫店西双版纳热带植物园回应蜉蝣大爆发沉迷短剧的人就像掉进了杀猪盘当地回应沈阳致3死车祸车主疑毒驾开除党籍5年后 原水城县长再被查凯特王妃现身!外出购物视频曝光初中生遭15人围殴自卫刺伤3人判无罪事业单位女子向同事水杯投不明物质男子被流浪猫绊倒 投喂者赔24万外国人感慨凌晨的中国很安全路边卖淀粉肠阿姨主动出示声明书胖东来员工每周单休无小长假王树国卸任西安交大校长 师生送别小米汽车超级工厂正式揭幕黑马情侣提车了妈妈回应孩子在校撞护栏坠楼校方回应护栏损坏小学生课间坠楼房客欠租失踪 房东直发愁专家建议不必谈骨泥色变老人退休金被冒领16年 金额超20万西藏招商引资投资者子女可当地高考特朗普无法缴纳4.54亿美元罚金浙江一高校内汽车冲撞行人 多人受伤

代做工资流水公司 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化