From 7a89da1bf309b748ff4f4be5b16f8d9d148cbe8e Mon Sep 17 00:00:00 2001 From: julieng Date: Mon, 15 Nov 2021 21:40:53 +0100 Subject: move *.html to *.md --- files/fr/glossary/attribute/index.html | 35 ---------------------------------- files/fr/glossary/attribute/index.md | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 files/fr/glossary/attribute/index.html create mode 100644 files/fr/glossary/attribute/index.md (limited to 'files/fr/glossary/attribute') diff --git a/files/fr/glossary/attribute/index.html b/files/fr/glossary/attribute/index.html deleted file mode 100644 index e9c94a2553..0000000000 --- a/files/fr/glossary/attribute/index.html +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: Attribut -slug: Glossary/Attribute -tags: - - Encodage - - Glossaire - - HTML -translation_of: Glossary/Attribute -original_slug: Glossaire/Attribut ---- -

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

- - diff --git a/files/fr/glossary/attribute/index.md b/files/fr/glossary/attribute/index.md new file mode 100644 index 0000000000..e9c94a2553 --- /dev/null +++ b/files/fr/glossary/attribute/index.md @@ -0,0 +1,35 @@ +--- +title: Attribut +slug: Glossary/Attribute +tags: + - Encodage + - Glossaire + - HTML +translation_of: Glossary/Attribute +original_slug: Glossaire/Attribut +--- +

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