Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre What is HTML? | Basics Introduction
Introduction to HTML

bookWhat is HTML?

HTML is at the core of every browsable website. Every site that includes this one has its backbone made out of HTML. It is the skeleton that holds together a website's functionality and design. The main goal of HTML is to make webpages traversable like a tree where every piece of content is wrapped in its meaningful container. Let's take a look at how the HTML of a popular website is structured.

  • Go to the Wikipedia Home Page in any browser;
  • Right-click on the page, and a menu will appear;
  • Click on Inspect in the menu, and the browser should look like Fig 1. (Chrome is used in the screenshot);
  • As you can see on the right-hand side, there is lots of HTML code, and everything is encapsulated in it;
  • Now hit Ctrl/Cmd + Shift + C from the keyboard. Now you can hover over any page part and view the HTML as in Fig 2.

Fig 1. Screenshot of Wikipedia Home Page HTML in the browser

Fig 2. Screenshot highlighting the header element

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 1

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Posez-moi des questions sur ce sujet

Résumer ce chapitre

Afficher des exemples du monde réel

Awesome!

Completion rate improved to 3.45

bookWhat is HTML?

Glissez pour afficher le menu

HTML is at the core of every browsable website. Every site that includes this one has its backbone made out of HTML. It is the skeleton that holds together a website's functionality and design. The main goal of HTML is to make webpages traversable like a tree where every piece of content is wrapped in its meaningful container. Let's take a look at how the HTML of a popular website is structured.

  • Go to the Wikipedia Home Page in any browser;
  • Right-click on the page, and a menu will appear;
  • Click on Inspect in the menu, and the browser should look like Fig 1. (Chrome is used in the screenshot);
  • As you can see on the right-hand side, there is lots of HTML code, and everything is encapsulated in it;
  • Now hit Ctrl/Cmd + Shift + C from the keyboard. Now you can hover over any page part and view the HTML as in Fig 2.

Fig 1. Screenshot of Wikipedia Home Page HTML in the browser

Fig 2. Screenshot highlighting the header element

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 1
some-alt