Académique Documents
Professionnel Documents
Culture Documents
D’APPLICATIONS WEB
FORMATION AIDE
INGÉNIEUR-INFO
02 HTML
02 HTML, l'origine
Le cours HTML
L.BAGDADI DAWeb -Aide Ingénieur Dept Info USTO-MB 7/56
02 Introduction au marquage - 3
Bon:
Mauvais:
<marqueur attribut="argument">texte</marqueur>
<!–-
Voici un commentaire HTML qui
peut se placer sur plusieurs lignes
-->
<html>
<head>
entête
<title>Titre fenetre</title>
</head>
<body>
Corps du document
Corps
<a> . . </a>
Principaux attributs:
href = url
name = chaîne de caractères
<html>
<head>
<title>Les hyperliens</title>
</head>
<body>
<p>Vous êtes dans la page lien </p>
<p>Cliquez sur
<a href="mailto:name@gmail.com">mail to name</a></p>
</body>
</html>
<a href="#bas">down</a>
<h1 id="haut">Les liens internes (les ancres)</h1>
<a href="#chapter1">chapitre 1</a>
<a href="#chapter2">chapitre 2</a>
<a href="#chapter3">chapitre 3</a>
<ol>
<li id="chapter1"><h3>Chapitre 1: langages pour le web</h3>
<ul type="square">
<li>HTML</li>
<li>CSS</li>
<li>JS</li>
<li>PHP</li>
</ul>
</li>…...
L.BAGDADI DAWeb -Aide Ingénieur Dept Info USTO-MB 19/56
02
…..
Le langage HTML
La balise <a id="label">
<li id="chapter2"><h3>Chapitre 2: langages sturcturés</h3>
<ul type="square">
<li>XML</li><li>DTD</li> <li>XSD</li>
</ul>
</li>
<li id="chapter3">
<h3>Chapitre 3: les bases des web services</h3>
<ul type="square">
<li>SOAP</li><li>WSDL</li><li>UDDI</li>
</ul>
</li>
</ol>
<a href="#haut">top</a>
<a name="bas"></a>
</body>
L.BAGDADI DAWeb -Aide Ingénieur Dept Info USTO-MB 20/56
02 Le langage HTML
La balise <a id="label">
….../liensInternes.html
https://www.univ-usto.dz/faculte/fac-mathinfo/
Le protocole: http
Le serveur (sous domaine + nom de domaine):
www.univ-usto.dz
Le fichier avec son chemin:
faculte/fac-mathinfo/index.php
<table> . . </table>
Définit un tableau
Principaux attributs:
align = position
bgcolor = color
border = n
cellpadding = n
cellspacing = n
width = n
<tr> . . </tr>
align = left,center,right
valign = top, middle, bottom
bgcolor = color
border = n
<td> . . </td>
align = type
valign = type
bgcolor = color
colspan, rowspan = n
height, width = n
<img> . . </img>
Insère une image
Principaux attributs:
Width
Définir les dimensions de notre
height élément iframe.
<html>
<head>
<title>iframe example</title>
</head>
<body>
<iframe src="HTML_CSS.mp4" width="30%"
height="30%"></iframe>
<iframe src="image.html" width="40%" height="25%"></iframe>
<iframe src="list.html"></iframe>
</body>
</html>
DAWebL2-S4-INFO-
DAWeb L2-S4-INFO-USTO-MB /
02 Le langage HTML
L’élément input (button/submit/reset)
<form method="GET" action="auth.php">
……………….
……………...
<input type="button" name="click" value="Click here"><br><br>
<input type="submit" value="Valider">
<input type="reset" value="Annuler"><br>
</form>
</form>
texte (Les blocs <span> se placent les uns à côté des autres et ont
la dimension qu'occupe leur contenu)
La balise <div> permet aussi de définir un bloc mais les blocs
<div> se placent les uns en dessous des autres
<div>
<p>les formations assurées par <span>L'USTO</span>
sont : </p><span>Licence</span> <span>Master</span>
<span>Doctorat</span>
</div>
</body>
02
2