À propos de cet outil
Outil en ligne pour l'encodage html d'une chaîne. Convertissez du texte en une chaîne encodée html à l'aide de cet utilitaire d'encodeur html gratuit en ligne.
Description de l'outil d'encodage html
L'encodeur de caractères HTML convertit tous les caractères applicables en leurs entités HTML correspondantes. Certains caractères ont une signification particulière en HTML et doivent être convertis en leurs entités HTML correctes pour préserver leur signification.
Exemple d'encodeur HTML
Avant l'encodage :
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-sm bg-light">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#">Link 1</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link 2</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link 3</a>
</li>
</ul>
</nav>
<br>
<div class="container-fluid">
<h3>Basic Navbar Example</h3>
<p>A navigation bar is a navigation header that is placed at the top of the page.</p>
<p>The navbar-expand-xl|lg|md|sm class determines when the navbar should stack vertically (on extra large, large, medium or small screens).</p>
</div>
</body>
</html>
Après l'encodeur
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-sm bg-light">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#">Link 1</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link 2</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link 3</a>
</li>
</ul>
</nav>
<br>
<div class="container-fluid">
<h3>Basic Navbar Example</h3>
<p>A navigation bar is a navigation header that is placed at the top of the page.</p>
<p>The navbar-expand-xl|lg|md|sm class determines when the navbar should stack vertically (on extra large, large, medium or small screens).</p>
</div>
</body>
</html>
Entités, symboles et caractères réservés en HTML
Ce tableau affiche une liste d'entités HTML réservées avec leur caractère et leur description associés.
Personnage | Nom de l'entité | La description |
---|---|---|
" | " | Guillemet |
' | ' | apostrophe |
& | & | esperluette |
< | ≪ | moins que |
> | > | plus grand que |
Espace non-cassant | ||
?? | ¡ | point d'exclamation inversé |
?? | ¢ | cent |
£ | &broyer; | broyer |
?? | &courant; | devise |
?? | ¥ | yen |
?? | ¦ | barre verticale cassée |
§ | §e; | section |
?? | ¨ | diaérèse d'espacement |
© | &copie; | droits d'auteur |
?? | ª | indicateur ordinal féminin |
« | « | guillemet d'angle (gauche) |
?? | &ne pas; | négation |
| &timide; | trait d'union souple |
® | ® | marque déposée |
?? | ¯ | espacement macron |
° | ° | degré |
± | ± | plus ou moins |
² | ² | exposant 2 |
?? | ³ | exposant 3 |
´ | &aigu; | espacement aigu |
µ | µ | micro |
?? | ¶ | paragraphe |
· | · | middle dot |
¸ | ¸ | spacing cedilla |
¹ | ¹ | superscript 1 |
º | º | masculine ordinal indicator |
» | » | angle quotation mark (right) |
¼ | ¼ | fraction 1/4 |
½ | ½ | fraction 1/2 |
¾ | ¾ | fraction 3/4 |
¿ | ¿ | inverted question mark |
× | × | multiplication |
÷ | ÷ | division |
À | À | capital a, grave accent |
Á | Á | capital a, acute accent |
 |  | capital a, circumflex accent |
à | à | capital a, tilde |
Ä | Ä | capital a, umlaut mark |
Å | Å | capital a, ring |
Æ | Æ | capital ae |
Ç | Ç | capital c, cedilla |
È | È | capital e, grave accent |
É | É | capital e, acute accent |
Ê | Ê | capital e, circumflex accent |
Ë | Ë | capital e, umlaut mark |
Ì | Ì | capital i, grave accent |
Í | Í | capital i, acute accent |
Î | Î | capital i, circumflex accent |
Ï | Ï | capital i, umlaut mark |
Ð | Ð | capital eth, Icelandic |
Ñ | Ñ | capital n, tilde |
Ò | Ò | capital o, grave accent |
Ó | Ó | capital o, acute accent |
Ô | Ô | capital o, circumflex accent |
Õ | Õ | capital o, tilde |
Ö | Ö | capital o, umlaut mark |
Ø | Ø | capital o, slash |
Ù | Ù | capital u, grave accent |
Ú | Ú | capital u, acute accent |
Û | Û | capital u, circumflex accent |
Ü | Ü | capital u, umlaut mark |
Ý | Ý | capital y, acute accent |
Þ | Þ | capital THORN, Icelandic |
ß | ß | small sharp s, German |
à | à | small a, grave accent |
á | á | small a, acute accent |
â | â | small a, circumflex accent |
ã | ã | small a, tilde |
ä | ä | small a, umlaut mark |
å | å | small a, ring |
æ | æ | small ae |
ç | ç | small c, cedilla |
è | è | small e, grave accent |
é | é | small e, acute accent |
ê | ê | small e, circumflex accent |
ë | ë | small e, umlaut mark |
ì | ì | small i, grave accent |
í | í | small i, acute accent |
î | î | small i, circumflex accent |
ï | ï | small i, umlaut mark |
ð | ð | small eth, Icelandic |
ñ | ñ | small n, tilde |
ò | ò | small o, grave accent |
ó | ó | small o, acute accent |
ô | ô | small o, circumflex accent |
õ | õ | small o, tilde |
ö | ö | small o, umlaut mark |
ø | ø | small o, slash |
ù | ù | small u, grave accent |
ú | ú | small u, acute accent |
û | û | small u, circumflex accent |
ü | ü | small u, umlaut mark |
ý | ý | small y, acute accent |
þ | þ | small thorn, Icelandic |
ÿ | ÿ | small y, umlaut mark |