Balises HTML courantes
Apprenez les balises HTML courantes, la structure de document, les éléments sémantiques, les formulaires, les médias et les entités sûres.
| Code HTML | Usage |
|---|
<!DOCTYPE html> | Document declaration |
<html> | Root element |
<head> | Metadata container |
<title> | Browser and result title |
<meta> | Page metadata |
<link> | External resource or canonical URL |
<body> | Visible content |
<header> | Introductory content |
<nav> | Navigation links |
<main> | Primary page content |
<section> | Thematic section |
<article> | Self-contained article |
<aside> | Related content |
<footer> | Footer content |
<h1> to <h6> | Heading levels |
<p> | Paragraph |
<a> | Link |
<img> | Image |
<ul> / <ol> | Lists |
<table> | Data table |
<form> | Input form |
<button> | Button |
<code> | Code text |
<pre> | Preformatted text |
Entités HTML
| Entité | S’affiche comme | Description |
|---|
< | < | Less-than sign |
> | > | Greater-than sign |
& | & | Ampersand |
" | " | Quotation mark |
' | ' | Apostrophe |
| non-breaking space | Keeps words together |
© | © | Copyright |
® | ® | Registered trademark |
™ | ™ | Trademark |
€ | € | Euro |
£ | £ | Pound |
¥ | ¥ | Yen |
— | — | Em dash |
– | – | En dash |