Skip to main content

Day 22 & 23 Learn why semantic HTML is important & example of missing semantic

why semantic HTML is important.

What is HTML

HTML stands for Hyper Text Markup Language.It is the standard markup language for creating Web pages.HTML describes the structure of a Web page. It allows the user to create and structure sections, paragraphs, headings, links, and blockquotes for web pages and applications.

HTML is not a programming language, meaning it doesn’t have the ability to create dynamic functionality. Instead, it makes it possible to organize and format documents, similarly to Microsoft Word.


What is semantic  HTML

Semantic HTML or semantic markup is HTML that introduces meaning to the web page rather than just presentation. For example, a <p> tag indicates that the enclosed text is a paragraph. This is both semantic and presentational because people know what paragraphs are, and browsers know how to display them.

On the flip side of this equation, tags such as <b> and <i> are not semantic. They define only how the text should look (bold or italic), and don't provide any additional meaning to the markup.

Examples of semantic HTML tags include:

Header tags <h1> through <h6>

<blockquote>

<code>

<em>

There are many more semantic HTML tags to use.The following HTML5 tags can be used in the place of <div> tags to break your page content into identified parts, each of which fulfills a specific role. 

 

Why is Semantic HTML important?

According to Bruce Lawson, the semantic use of HTML elements “enhances accessibility, searchability, internationalization, and interoperability.” In other words, writing semantic markup is mandatory if you want your website to be accessible to all visitors, to achieve a high search engine ranking, to be available to visitors from around the world, and to interface effectively with other web services.

Writing semantic markup is about creating web content that is both human and computer readable. For sighted users, when a page is well designed visually, it is easy to identify the various parts of a web page at a glance. Headers, menus, and the main content are all immediately visually apparent. 

For users who are blind or visually impaired and rely on screen readers to verbally describe what is on a page, proper use of HTML semantic elements will allow screen readers to more accurately communicate your content by making the visual audible.

 SEO (Search Engine Optimisation) positioning can be affected, positively or negatively depending on factors such as: the way in which the content is written, a ‘responsive’ design or that the site is accessible.

In the case of Google, they use an algorithm that analyzes the code of the website, and uses the markup and the labels used to better understand the purpose of the page.

In this way, if designers use a semantic mark it will facilitate the task to the positioning algorithm helping us to reach more users. And in turn, website will be more accessible.

I found some semantic tags are missing from following HTML structure such as Header & Navigation.




Comments

Popular posts from this blog

Day 7 Name five examples of an ecommerce platform?

  An ecommerce platform is a software application that allows online businesses to manage their website, marketing, sales and operations. Following are the examples of 5 best ecommerce platforms in 2020. Shopify (www.shopify.com) Woo Commerce (woocommerce.com) Big Commerce (www.bigcommerce.com) Magento (magento.com) Wix eCommerce (www.wix.c om/ecommerce/ )

Day 15 Name five different online payment methods.

Most modern online payment services offer easy-to-use, fast and secure ways to pay Here’s a list of some of the most popular online payment services: Digital Wallet ( E wallet) A digital wallet refers to software, an electronic device, or an online service that enables individuals or businesses to make transactions electronically. It stores the payment information of users for different payment modes on various websites.                           PayPal PayPal is one of the most dominant payment methods available today. over 20 million UK shoppers use PayPal each year in the UK and  7 million businesses worldwide use their platform to accept payments. PayPal is an eCommerce payment processing company that allows users to set up a PayPal account and pay a fee for each cash transaction. Many customers prefer to checkout with PayPal because it’s so simple and quick to use. Amazon Pay Amazon Pay is another ...

Why I believe I love software testing.

  “Find out what you like doing best and get someone to pay you for doing it. " —Katherine Whitehorn I was introduced to the world of Software Development in my last company(2012)  when my company decided to develop software to manage inventory & I got a chance to participate in User Acceptance Testing. I really enjoyed those tasks & that triggered my interest in Software Testing. After almost 8 years of a break when I decided to start my career again, my first choice was Software Testing. Here are some reasons why I wanted to work as a Software Tester. To be successful in a job, you should love and enjoy what you do.  These are the reason why I enjoy being a tester Challenging job: I always enjoy taking up challenges.  It can be really challenging to find a bug no one thought existed in software and assumed to be working correctly. It takes especially critical eyes and thought processes to find these kinds of problems and solve them. No repetition of work: ...