What is the difference between Landmarks and Semantic Web?

BrandWarm
3 min readFeb 20, 2023

--

First, it is important to understand what each term means and what they entail. “Landmarks” in HTML refers to semantic elements used to identify important areas or sections of a web page.

Landmarks help users navigate the web page and quickly find the information they are looking for. Some examples of landmarks in HTML include “header,” “footer,” “nav,” “main,” “article,” “aside,” “section,” “figure,” and “form.”

The use of landmarks in HTML is important for web accessibility, as it allows users with visual or cognitive disabilities to easily navigate the page using a screen reader. Landmarks are also useful for improving the usability of the web page in general, as they allow users to focus on important content and avoid unnecessary information.

On the other hand, the semantic web is a set of standards and technologies used to describe and organize information on the web in a structured and meaningful way. The semantic web uses metadata and ontologies to describe the content of a web page, allowing software agents (such as search engines) to better understand the information and present it more relevantly to users.

Although landmarks and the semantic web are related to each other, they are not the same. Landmarks are mainly used to identify the important sections of a web page, such as the header, navigation, main content, and footer, with the aim of improving accessibility and navigation of the page. On the other hand, the semantic web is used to describe the information on a web page in a structured and meaningful way, with the aim of making the information more easily understandable for software agents (such as search engines).

Landmarks are implemented in the HTML code of a web page using specific semantic elements such as “header,” “nav,” “main,” “aside,” “footer,” etc. The semantic web is implemented using specific standards and technologies such as HTML5, RDF, OWL, etc.

In terms of application, landmarks are primarily important for improving the accessibility and navigation of web pages, especially for people with visual or mobility disabilities. The semantic web, on the other hand, is important for improving the description and organization of information on the web in general, and for facilitating the interconnection and exchange of data between different systems and applications. To illustrate this, an example of implementing landmarks could be:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example of landmarks in HTML</title>
</head>
<body>
<!-- Page header -->
<header>
<h1>Page Header</h1>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<!-- Main content of the page -->
<main>
<h2>Main Content</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla auctor ipsum eget nibh rhoncus, vitae faucibus velit blandit. Phasellus tincidunt diam vel erat blandit, non lobortis nulla convallis. Nunc dictum felis id risus sollicitudin, a iaculis mauris sagittis. Nullam condimentum enim eget elit ultricies suscipit. Praesent a sagittis enim. Sed venenatis eget nunc in ullamcorper. Proin sit amet libero sed mauris tincidunt aliquet a a tellus.</p>
</main>
<!-- Page sidebar -->
<aside>
<h2>Page Sidebar</h2>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
</ul>
</aside>
<!-- Page footer -->
<footer>
<p>© 2021 Example of landmarks in HTML. All rights reserved.</p>
</footer>
</body>
</html>

In summary, landmarks are specific semantic elements used to improve the accessibility and usability of a web page, while the semantic web is a set of standards and technologies used to describe web page information in a structured and meaningful way. Both concepts are related, as landmarks are part of the semantic web and help improve the description and organization of information on a web page.

Written by: Vladimir Draguicevic M. 
Head of dev and Design in ForSend
Content creator in BrandWarm.cl
Teacher at Duoc UC Design School.
Adobe Certified XD Essentials
Connect on Linkedin :).

--

--

BrandWarm

BrandWarm es una agencia de contenidos independiente perteneciente a un grupo de jóvenes creadores con sede en Santiago de Chile. Nuestro s