WEB: Séance 2 Écrire en HTML
Septembre 2019
HTML langage à balises
Quelques balises
Page exemple
page_balises.html
< !DOCTYPE html>
<html>
<head>
< !−−c e c i e s t un commentaire−−>
< !−−en−t ê t e−−>
<meta c h a r s e t=" UTF−8">
<meta name=" Author " c o n t e n t=" F a b r i c e S i n c è r e ">
<t i t l e>Un exemple de page web en HTML5
</t i t l e>
</head>
<body>
< !−−c o r p s−−>
<h1>Un exemple de page web en HTML5 ( t i t r e en t a i l l e 1 )</h1>
<h2>Un t i t r e ( t a i l l e 2 )</h2>
<h3>Un t i t r e ( t a i l l e 3 )</h3>
<h4>Un t i t r e ( t a i l l e 4 )</h4>
<h5>Un t i t r e ( t a i l l e 5 )</h5>
<h6>Un t i t r e ( t a i l l e 6 )</h6>
<p>Un paragraphe . </p>
Page HTML à partir de rien
page_blanche.html
< !DOCTYPE html>
<html>
< !−−c e c i e s t un commentaire−−>
<head>
< !−−en−t ê t e : r i e n n ’ e s t a f f i c h é mais comprend l e s mé ta−i n f o r m a t i o n s s u r l a page
−−>
<meta c h a r s e t=" UTF−8">
<meta name=" Author " c o n t e n t=" ">
<t i t l e></t i t l e>
</head>
<body>
< !−−c o r p s : t o u t ce que l ’ on v e u t a f f i c h e r d o i t ê t r e mis e n t r e ces b a l i s e s−−>
</body>
</html>
À votre tour
Écrire une page HTML l’histoire du WEB
avec au moins 4 balises di ff érentes
Page HTML à partir de rien
page_blanche.html
< !DOCTYPE html>
<html>
< !−−c e c i e s t un commentaire−−>
<head>
< !−−en−t ê t e : r i e n n ’ e s t a f f i c h é mais comprend l e s mé ta−i n f o r m a t i o n s s u r l a page
−−>
<meta c h a r s e t=" UTF−8">
<meta name=" Author " c o n t e n t=" ">
<t i t l e></t i t l e>
</head>
<body>
< !−−c o r p s : t o u t ce que l ’ on v e u t a f f i c h e r d o i t ê t r e mis e n t r e ces b a l i s e s−−>
</body>
</html>
À votre tour
Écrire une page HTML l’histoire du WEB
avec au moins 4 balises di ff érentes
Page HTML à partir de rien
page_blanche.html
< !DOCTYPE html>
<html>
< !−−c e c i e s t un commentaire−−>
<head>
< !−−en−t ê t e : r i e n n ’ e s t a f f i c h é mais comprend l e s mé ta−i n f o r m a t i o n s s u r l a page
−−>
<meta c h a r s e t=" UTF−8">
<meta name=" Author " c o n t e n t=" ">
<t i t l e></t i t l e>
</head>
<body>
< !−−c o r p s : t o u t ce que l ’ on v e u t a f f i c h e r d o i t ê t r e mis e n t r e ces b a l i s e s−−>
</body>
</html>