From 39f2114f9797eb51994966c6bb8ff1814c9a4da8 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 12:36:08 +0100 Subject: unslug fr: move --- files/fr/glossaire/attribut/index.html | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 files/fr/glossaire/attribut/index.html (limited to 'files/fr/glossaire/attribut') 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 ---- -

Un attribut 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 name=valuename est l'identificateur de l'attribut et value sa valeur attribuée.

- -
<!-- 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>
- -

On peut aussi trouver des attributs sans valeur quand elle n'est pas nécessaire.

- -
<!-- Un tag avec un attribut indiquant que le champ est requis -->
-<input type="text" required>
-
-<!-- Cette notation fonctionne aussi -->
-<input type="text" required="required">
- -

Pour approfondir

- -

Informations techniques

- - -- cgit v1.2.3-54-g00ecf