pages de l'onglet de base
Titre Tag
Nom de l'étiquette | explication |
---|---|
<H1> </ h1> | Un titre |
<H2> </ h2> | Sous-rubriques |
<H3> </ h3> | titre de trois |
<H4> </ h4> | titre de quatre |
<H5> </ h5> | titre de cinq |
<H6> </ h6> | titre six |
Code HTML:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>标题标签</title>
</head>
<body>
<h1>微微一笑很倾城</h1>
<h2>微微一笑很倾城</h2>
<h3>微微一笑很倾城</h3>
<h4>微微一笑很倾城</h4>
<h5>微微一笑很倾城</h5>
<h6>微微一笑很倾城</h6>
</body>
</html>
Le résultat:
HTML fournit six titre <h1> à <h6>, tous les titres caractères gras, <h1> Taille maximale de police, <h6> Taille de police minimale.
tag Paragraphe
Nom de l'étiquette | explication |
---|---|
<P> </ p> | tag Paragraphe |
Code HTML:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>段落标签</title>
</head>
<body>
<p>就承认一笑倾城一见自难忘</p>
<p>说什么情深似海我却不敢当</p>
<p>最浪漫不过与你并肩看夕阳</p>
<p>我心之所向</p>
</body>
</html>
Résultat :
tag pause
Nom de l'étiquette | explication |
---|---|
<br /> | tag pause |
Code HTML:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>换行标签</title>
</head>
<body>
就承认一笑倾城一见自难忘
<br />说什么情深似海我却不敢当
<br />最浪漫不过与你并肩看夕阳
<br />我心之所向
</body>
</html>
Résultat :
étiquette horizontale
Nom de l'étiquette | explication |
---|---|
<Hr /> | étiquette horizontale |
Code HTML:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>换行标签</title>
</head>
<body>
就承认一笑倾城一见自难忘
<hr />说什么情深似海我却不敢当
<hr />最浪漫不过与你并肩看夕阳
<hr />我心之所向
</body>
</html>
Résultat :
Onglet Styles de texte
Nom de l'étiquette | explication |
---|---|
<Strong> </ strong> | texte gras |
Code HTML:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>文本加粗标签</title>
</head>
<body>
微微一笑很倾城
<br /><strong>微微一笑很倾城</strong>
</body>
</html>
Résultat :
Nom de l'étiquette | explication |
---|---|
<Em> </ em> | Texte étiquette italique |
Code HTML:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>文本倾斜标签</title>
</head>
<body>
微微一笑很倾城
<br /><em>微微一笑很倾城</em>
</body>
</html>
Résultat :
symboles spéciaux
nom symbolique spécial | Les entités de caractères |
---|---|
blanc | & Nbsp; |
Supérieur à (>) | & Gt; |
Moins de (<) | & Lt; |
Guillemets ( « ) | & Quot; |
Esperluette (&) | & Amp; |
Droit d'auteur Symbole (©) | &copie; |
Code HTML:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>特殊符号</title>
</head>
<body>
微微一笑 很倾城
<br />>微微一笑很倾城
<br /><微微一笑很倾城
<br />"微微一笑很倾城"
<br />&微微一笑很倾城
<br />©微微一笑很倾城
</body>
</html>
Résultat :
J'ai trouvé d'un Haibi le bleu clair et Yao
Grand trafic maritime à la fois vers le lointain
Partagée par les rivières Foriver_