diff options
Diffstat (limited to 'files/fr/glossaire/attribut/index.html')
-rw-r--r-- | files/fr/glossaire/attribut/index.html | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/files/fr/glossaire/attribut/index.html b/files/fr/glossaire/attribut/index.html deleted file mode 100644 index 54926f8b1f..0000000000 --- a/files/fr/glossaire/attribut/index.html +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: Attribut -slug: Glossaire/Attribut -tags: - - Encodage - - Glossaire - - HTML -translation_of: Glossary/Attribute ---- -<p><span class="glossaryLink new">Un <em>attribut</em></span> vient compléter un {{Glossary("tag")}}. Sa présence peut être requise ou facultative. Il peut fournir des méta-informations ou changer le comportement du tag. La syntaxe est <code>name=value</code> où <em>name</em> est l'identificateur de l'attribut et <em>value</em> sa valeur attribuée.</p> - -<pre class="brush: html"><!-- Voici un exemple de tag sans attribut --> -<h2>Titre</h2> - -<!-- Le même tag avec un attribut --> -<!-- Le titre apparaît désormais sur un fond jaune --> -<h2 style="background-color:yellow";>Titre</h2></pre> - -<p>On peut aussi trouver des attributs sans valeur quand elle n'est pas nécessaire.</p> - -<pre class="brush: html"><!-- Un tag avec un attribut indiquant que le champ est requis --> -<input type="text" required> - -<!-- Cette notation fonctionne aussi --> -<input type="text" required="required"></pre> - -<h2 id="Pour_approfondir">Pour approfondir</h2> - -<h3 id="Informations_techniques">Informations techniques</h3> - -<ul> - <li><a href="https://developer.mozilla.org/fr/docs/Web/HTML/Attributs">Liste des attributs HTML</a></li> - <li>Informations concernant les <a href="https://developer.mozilla.org/fr/docs/Web/HTML/Attributs_universels">attributs universels</a> en HTML.</li> -</ul> |