Hypertext Markup Language (HTML) is a markup language that defines the structure of webpages. It defines how content will be displayed in the web browser. Modern day HTML also makes sure that webpages are accessible to people with disabilities using ARIA.
HTML uses semantic tags to convey the meaning of a webpage.
For example: In an elevator, buttons are used in vertical order to convey the floor number. However, this is also not enough for everyone so numbers are added which indicate the floor number.
Semantically writing HTML allows search engines and accessibiliy softwares to understand the contents of a page. Semantic HTML tags can be broadly classified into 5 types:
Metadata is data about other data. Meta tags in HTML define the webpage.
3 categories of Meta tags:
With the growth of social media platforms and people sharing thousands of links everyday, Facebook found a way to display information about a website before a user clicks on the link to improve user experience. Facebook established Open Graph Protocol in 2010. It is a set of metadata rules that allow websites to describe themselves to social networks.