Keine Cache-Version

Caching deaktiviert Standardeinstellung für diese Seite:aktiviert (code LNG204)
Wenn die Anzeige zu langsam ist, können Sie den Benutzermodus deaktivieren, um die zwischengespeicherte Version anzuzeigen.

Tous les filtres HTML avec exemples

Information (14/02/2010)

J'avais réalisé cette page le 27/02/2003, dans la fougue de la découverte des possibilités du Web. Je laisse donc ces pages à titre d'information, mais avec le recul je ne suis pas du tout convaincu, car les différents filtres présentés ici ne sont valables que pour le navigateur Internet Explorer.

Exemple de syntaxe

  1. <img src="graphique.gif" style="FILTER: GLOW(color=blue, strength=4)">

Après les deux points suit l'appel au filtre par son nom et ses paramètres séparés par des virgules. Le tout entre parenthèses.
Si un filtre ne demande aucun paramètre, les parenthèses sont tout de même présentes (comme pour un appel de fonction).

Nous pouvons combiner plusieurs filtres pour un même élément, comme le montre l'exemple suivant.

  1. <img src="graphique.gif" style="filter:Blur(strength=50) FlipH();">

Inhaltsverzeichnis Haut

Balises HTML sur lesquelles nous pouvons appliquer les filtres

BaliseApplication
BaliseApplication
bodyla totalité de la page affichée
buttonla surface pouvant être cliquée
divle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
imgle graphique référencé
inputle champ de saisie
marqueele texte déroulant
spanle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
tablele tableau
tdla cellule de données d'un tableau
textareale champ de saisie à plusieurs lignes
tfootle pied d'un tableau
thla rangée d'entête d'un tableau
theadl'entête d'un tableau
trla rangée d'un tableau

Exemples d'utilisation de filtres

Les exemples changent à chaque chargement de la page. Si vous désirez d'autres exemples, vous pouvez recharger la page.

Exemple avec Alpha()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:0()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Benjamin Franklin">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Publisher" content="Breguet">
  10. <meta name="Copyright" content="Louis Breguet">
  11. </head>
  12. <body>
  13. <h1>Exemple de filtre Alpha</h1>
  14. <div align="center">
  15. <img
  16. src="filter_0.gif"
  17. style="filter:Alpha(opacity=53, finishopacity=0, style=2)"
  18. width="119"
  19. height="199"
  20. alt="Exemple de filtre 0"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Inhaltsverzeichnis Haut

Exemple avec Blur()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:1()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="alanmathison@turing.net">
  7. <meta name="Publisher" content="Turing">
  8. <meta name="Copyright" content="Alan Mathison Turing">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <h1>Exemple de filtre Blur</h1>
  13. <div align="center">
  14. <img
  15. src="filter_1.gif"
  16. style="filter:Blur(strength=6)"
  17. width="76"
  18. height="148"
  19. alt="Exemple de filtre 1"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Inhaltsverzeichnis Haut

Exemple avec Chroma()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:2()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Publisher" content="Cox">
  6. <meta http-equiv="content-language" content="fr">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. <img
  10. style="filter:Chroma(color=#fafad2);"
  11. src="2Filter.jpg"
  12. align="center"
  13. width="115"
  14. height="97"
  15. alt="Chroma
  16. appliqu&eacute; &agrave; une image">
  17. <span style="width: 100%; filter:Chroma(color=#fafad2);">
  18. Chroma
  19. appliqu&eacute; &agrave; du texte
  20. </span>
  21. </body>
  22. </html>

Inhaltsverzeichnis Haut

Exemple avec DropShadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:3()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="Blaise Pascal">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="ernst@bloch.net">
  10. <meta name="Copyright" content="Ernst Bloch">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. <h1>Exemple de filtre DropShadow</h1>
  15. <div align="center">
  16. <img
  17. src="filter_3.gif"
  18. style="filter:DropShadow(color=#fafad2, offx=1, offy=1)"
  19. width="32"
  20. height="35"
  21. alt="Exemple de filtre 3"
  22. border="0">
  23. </div>
  24. </body>
  25. </html>

Inhaltsverzeichnis Haut

Exemple avec FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:4()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Reply-to" content="leopardi.giacomo@gmail.com">
  6. <meta name="Copyright" content="Giacomo Leopardi">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8.  
  9. body {
  10. margin: 4px;
  11. padding: 15px;
  12. font-family: verdana;
  13. font-size: 19px;
  14. min-width: 762px;
  15. background:#FFFFFF;
  16. color:#000000;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body>
  23. <h1>Exemple de filtre FlipH</h1>
  24. <div align="center">
  25. <img
  26. src="filter_4.gif"
  27. style="filter:FlipH()"
  28. width="156"
  29. height="72"
  30. alt="Exemple de filtre 4"
  31. border="0">
  32. </div>
  33. </body>
  34. </html>

Inhaltsverzeichnis Haut

Exemple avec FlipV()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:5()</title>
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="hopper.grace@infobrol.edu">
  9. <meta name="Publisher" content="Hopper">
  10. <meta name="Copyright" content="Grace Hopper">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13.  
  14. body {
  15. margin: 3px;
  16. padding: 16px;
  17. font-family: verdana;
  18. font-size: 12px;
  19. min-width: 681px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <h1>Exemple de filtre FlipV</h1>
  27. <div align="center">
  28. <img
  29. src="filter_5.gif"
  30. style="filter:FlipV()"
  31. width="123"
  32. height="64"
  33. alt="Exemple de filtre 5"
  34. border="0">
  35. </div>
  36. </body>
  37. </html>

Inhaltsverzeichnis Haut

Exemple avec Glow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:6()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="turing.alanmathison@infobrol.biz">
  10. <meta name="Publisher" content="Turing">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13.  
  14. body {
  15. margin: 3px;
  16. padding: 16px;
  17. font-family: verdana;
  18. font-size: 12px;
  19. min-width: 681px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <h1>Exemple de filtre Glow</h1>
  27. width:100%; padding:7px; font-size:18pt; color:red;
  28. filter:6(color=#fafad2, strength=1)">
  29. Application de Glow(),
  30. texte avec Glow
  31. The quick brown fox jumped over the lazy dog.
  32. The quick brown fox jumped over the lazy dog.
  33. The quick brown fox jumped over the lazy dog.
  34. The quick brown fox jumped over the lazy dog.
  35. </div>
  36. </body>
  37. </html>

Inhaltsverzeichnis Haut

Exemple avec Gray()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:7()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Reply-to" content="carl@zeiss.info">
  9. <meta name="Publisher" content="Zeiss">
  10. <meta name="Copyright" content="Carl Zeiss">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13. </head>
  14. <body>
  15. width:100%;
  16. padding:17px;
  17. font-size:38pt;
  18. color:blue;
  19. filter:Gray()">
  20. Exemples d'utilisation de filtres</p>
  21. </div>
  22.  
  23. <br />
  24. <br />
  25.  
  26. <tr valign="top">
  27. <td width="22%" height="218">
  28. The quick brown fox jumped over the lazy dog.
  29. The quick brown fox jumped over the lazy dog.
  30. </td>
  31. <td width="21%">
  32. &nbsp;
  33. </td>
  34. <td width="57%">
  35. The quick brown fox jumped over the lazy dog.
  36. The quick brown fox jumped over the lazy dog.
  37. The quick brown fox jumped over the lazy dog.
  38. The quick brown fox jumped over the lazy dog.
  39. The quick brown fox jumped over the lazy dog.
  40. </td>
  41. </tr>
  42. </table>
  43.  
  44. </body>
  45. </html>

Inhaltsverzeichnis Haut

Exemple avec Invert()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:8()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Copyright" content="Benjamin Thompson">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 4px;
  12. padding: 15px;
  13. font-family: verdana;
  14. font-size: 19px;
  15. min-width: 762px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <div style="width: 100%; filter:Invert();">
  25. Ceci est un texte avec Invert...
  26. </div>
  27. </body>
  28. </html>

Inhaltsverzeichnis Haut

Exemple avec Mask()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:9()</title>
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="John Venn">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="edward.appleton@infobrol.int">
  10. <meta name="Copyright" content="Appleton Edward">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13. </head>
  14. <body>
  15. width:100%;
  16. padding:20px;
  17. font-size:50pt;
  18. color:blue;
  19. filter:Mask(color=#528b8b)">
  20. Exemples d'utilisation de filtres</p>
  21. </div>
  22.  
  23. <br />
  24. <br />
  25.  
  26. <tr valign="top">
  27. <td width="22%" height="218">
  28. The quick brown fox jumped over the lazy dog.
  29. The quick brown fox jumped over the lazy dog.
  30. The quick brown fox jumped over the lazy dog.
  31. </td>
  32. <td width="21%">
  33. &nbsp;
  34. </td>
  35. <td width="57%">
  36. The quick brown fox jumped over the lazy dog.
  37. The quick brown fox jumped over the lazy dog.
  38. </td>
  39. </tr>
  40. </table>
  41.  
  42. </body>
  43. </html>

Inhaltsverzeichnis Haut

Exemple avec Shadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:10()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="abrikosov.alexei@infobrol.tk">
  10. <meta name="Publisher" content="Abrikosov">
  11. <meta name="Copyright" content="Alexei Abrikosov">
  12. <meta http-equiv="content-language" content="fr">
  13. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  14.  
  15. body {
  16. margin: 3px;
  17. padding: 16px;
  18. font-family: verdana;
  19. font-size: 12px;
  20. min-width: 681px;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body bgcolor="#FFFFFF" text="#000000">
  27. <form>
  28. <textarea id="test_textarea"
  29. style="filter:Shadow(color=#528b8b);"
  30. rows="6"
  31. cols="10">
  32. The quick brown fox jumped over the lazy dog.
  33. type="button"
  34. name="btn1"
  35. value="Test"
  36. style="filter:Shadow(color=#528b8b);" />
  37. </form>
  38. </body>
  39. </html>

Inhaltsverzeichnis Haut

Exemple avec Wave()

  1. <head>
  2. <title>filter:11()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Author" lang="fr" content="Michel Chevalier">
  5. <meta name="Reply-to" content="pasteur.louis@infobrol.com">
  6. <meta name="Publisher" content="Pasteur">
  7. <meta name="Copyright" content="Louis Pasteur">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body>
  11. width:100%;
  12. padding:3px;
  13. font-size:26pt;
  14. color:blue;
  15. filter:Wave(freq=30, light=17, phase=39, strength=9)">
  16. Exemples d'utilisation de filtres</p>
  17. </div>
  18.  
  19. <br />
  20. <br />
  21.  
  22. <tr valign="top">
  23. <td width="22%" height="218">
  24. The quick brown fox jumped over the lazy dog.
  25. The quick brown fox jumped over the lazy dog.
  26. </td>
  27. <td width="21%">
  28. &nbsp;
  29. </td>
  30. <td width="57%">
  31. The quick brown fox jumped over the lazy dog.
  32. The quick brown fox jumped over the lazy dog.
  33. </td>
  34. </tr>
  35. </table>
  36.  
  37. </body>
  38. </html>

Inhaltsverzeichnis Haut

Exemple avec XRay()

  1. <head>
  2. <title>filter:12()</title>
  3. <meta name="Description" content="Utilisation des filtres, Demo">
  4. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  5. <meta name="Publisher" content="Amdahl">
  6. <meta name="Copyright" content="Gene Amdahl">
  7. </head>
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. <img
  10. style="filter:XRay();"
  11. src="12Filter.jpg"
  12. align="center"
  13. width="76"
  14. height="107"
  15. alt="XRay
  16. appliqu&eacute; &agrave; une image">
  17. <span style="width: 100%; filter:XRay();">
  18. XRay
  19. appliqu&eacute; &agrave; du texte
  20. </span>
  21. </body>
  22. </html>

Inhaltsverzeichnis Haut

Liste de filtres

#NomEffet
#NomEffet
0Alpha()effet de fusion de l'avant-plan et l'arrière-plan
1Blur()effet d'estompe
2Chroma()effet de couleur transparente
3DropShadow()effet d'ombrage
4FlipH()effet de symétrie sur axe horizontal
5FlipV()effet de symétrie sur axe vertical
6Glow()effet de bords flambants
7Gray()effet de nuances de gris
8Invert()effet d'inversion
9Mask()effet de masque transparent
10Shadow()effet d'ombres
11Wave()effet d'ondulation
12XRay()effet négatif photo

Afficher tous les filtres avec exemples.

Deutsche Übersetzung

Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.

Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.

Vielen Dank im Voraus.

Dokument erstellt 27/02/2003, zuletzt geändert 26/10/2018
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/html-filtres-rf-all.html

Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.

Referenzen

  1. Zeigen Sie - html-Dokument Sprache des Dokuments:fr Filtres : selfhtml (version 13/02/10)

Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor Diese Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.

Inhaltsverzeichnis Haut