No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

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();">

Contents 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. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <head>
  5. <title>filter:0()</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="antoine@cournot.net">
  9. <meta name="Copyright" content="Antoine Cournot">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre Alpha</h1>
  14. <div align="center">
  15. <img
  16. src="filter_0.gif"
  17. style="filter:Alpha(opacity=79, finishopacity=0, style=2)"
  18. width="184"
  19. height="10"
  20. alt="Exemple de filtre 0"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Contents Haut

Exemple avec Blur()

  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:1()</title>
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="hertz.heinrichrudolf@infobrol.edu">
  9. <meta name="Copyright" content="Heinrich Rudolf Hertz">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. width:100%;
  14. padding:4px;
  15. font-size:43pt;
  16. color:blue;
  17. filter:Blur(strength=19)">
  18. Exemples d'utilisation de filtres</p>
  19. </div>
  20.  
  21. <br />
  22. <br />
  23.  
  24. <tr valign="top">
  25. <td width="22%" height="218">
  26. The quick brown fox jumped over the lazy dog.
  27. The quick brown fox jumped over the lazy dog.
  28. The quick brown fox jumped over the lazy dog.
  29. </td>
  30. <td width="21%">
  31. &nbsp;
  32. </td>
  33. <td width="57%">
  34. The quick brown fox jumped over the lazy dog.
  35. The quick brown fox jumped over the lazy dog.
  36. The quick brown fox jumped over the lazy dog.
  37. </td>
  38. </tr>
  39. </table>
  40.  
  41. </body>
  42. </html>

Contents 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="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="hejlsberg.anders@infobrol.int">
  7. <meta name="Copyright" content="Anders Hejlsberg">
  8. </head>
  9. <body>
  10. <h1>Exemple de filtre Chroma</h1>
  11. width:100%; padding:5px; font-size:31pt; color:red;
  12. filter:2(color=#528b8b)">
  13. Application de Chroma(),
  14. texte avec Chroma
  15. The quick brown fox jumped over the lazy dog.
  16. The quick brown fox jumped over the lazy dog.
  17. The quick brown fox jumped over the lazy dog.
  18. The quick brown fox jumped over the lazy dog.
  19. </div>
  20. </body>
  21. </html>

Contents 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 name="Reply-to" content="decoulomb.charles@infobrol.edu">
  7. <meta name="Publisher" content="de Coulomb">
  8. <meta name="Copyright" content="Charles de Coulomb">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. </head>
  12. <body>
  13. <h1>Exemple de filtre DropShadow</h1>
  14. width:100%; padding:11px; font-size:16pt; color:red;
  15. filter:3(offx=2, offy=1)">
  16. Application de DropShadow(),
  17. texte avec DropShadow
  18. The quick brown fox jumped over the lazy dog.
  19. The quick brown fox jumped over the lazy dog.
  20. The quick brown fox jumped over the lazy dog.
  21. The quick brown fox jumped over the lazy dog.
  22. </div>
  23. </body>
  24. </html>

Contents Haut

Exemple avec FlipH()

  1. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <head>
  5. <title>filter:4()</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="rontgen.wilhelm@infobrol.biz">
  10. <meta name="Publisher" content="Rontgen">
  11. <meta name="Copyright" content="Wilhelm Rontgen">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body>
  15. <h1>Exemple de filtre FlipH</h1>
  16. <div align="center">
  17. <img
  18. src="filter_4.gif"
  19. style="filter:FlipH()"
  20. width="119"
  21. height="106"
  22. alt="Exemple de filtre 4"
  23. border="0">
  24. </div>
  25. </body>
  26. </html>

Contents Haut

Exemple avec FlipV()

  1. <head>
  2. <title>filter:5()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Author" lang="fr" content="Anderson Carl David">
  6. <meta name="Reply-to" content="stirner.max@infobrol.tk">
  7. <meta name="Publisher" content="Stirner">
  8. <meta name="Copyright" content="Max Stirner">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <img
  13. style="filter:FlipV();"
  14. src="5Filter.jpg"
  15. align="center"
  16. width="109"
  17. height="109"
  18. alt="FlipV
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:FlipV();">
  21. FlipV
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </html>

Contents 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. <head>
  4. <title>filter:6()</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="Kristen Nygaard">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="claude@shannon.net">
  10. <meta name="Publisher" content="Shannon">
  11. <meta name="Copyright" content="Claude Shannon">
  12. <meta http-equiv="content-language" content="fr">
  13. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  14. </head>
  15. <body>
  16. <h1>Exemple de filtre Glow</h1>
  17. width:100%; padding:4px; font-size:18pt; color:red;
  18. filter:6(strength=4, color=#cdc9a5)">
  19. Application de Glow(),
  20. texte avec Glow
  21. The quick brown fox jumped over the lazy dog.
  22. The quick brown fox jumped over the lazy dog.
  23. The quick brown fox jumped over the lazy dog.
  24. The quick brown fox jumped over the lazy dog.
  25. </div>
  26. </body>
  27. </html>

Contents 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="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="thompson.kenneth@infobrol.int">
  10. <meta name="Copyright" content="Kenneth Thompson">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body>
  14. <img
  15. style="filter:Gray();"
  16. src="7Filter.jpg"
  17. align="center"
  18. width="103"
  19. height="112"
  20. alt="Gray
  21. appliqu&eacute; &agrave; une image">
  22. <span style="width: 100%; filter:Gray();">
  23. Gray
  24. appliqu&eacute; &agrave; du texte
  25. </span>
  26. </body>
  27. </html>

Contents Haut

Exemple avec Invert()

  1. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <head>
  5. <title>filter:8()</title>
  6. <meta name="Author" lang="fr" content="Hippolyte Taine">
  7. <meta name="Reply-to" content="kleene.stephencole@infobrol.tk">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body>
  11. <form>
  12. <textarea id="test_textarea"
  13. style="filter:Invert();"
  14. rows="5"
  15. cols="18">
  16. The quick brown fox jumped over the lazy dog.
  17. The quick brown fox jumped over the lazy dog.
  18. The quick brown fox jumped over the lazy dog.
  19. type="button"
  20. name="btn1"
  21. value="Test"
  22. style="filter:Invert();" />
  23. </form>
  24. </body>
  25. </html>

Contents 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. <head>
  4. <title>filter:9()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="popov.alexandre@infobrol.int">
  9. <meta name="Publisher" content="Popov">
  10. <meta name="Copyright" content="Alexandre Popov">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. width:100%;
  15. padding:10px;
  16. font-size:35pt;
  17. color:blue;
  18. filter:Mask(color=#cdc9a5)">
  19. Exemples d'utilisation de filtres</p>
  20. </div>
  21.  
  22. <br />
  23. <br />
  24.  
  25. <tr valign="top">
  26. <td width="22%" height="218">
  27. The quick brown fox jumped over the lazy dog.
  28. The quick brown fox jumped over the lazy dog.
  29. </td>
  30. <td width="21%">
  31. &nbsp;
  32. </td>
  33. <td width="57%">
  34. The quick brown fox jumped over the lazy dog.
  35. The quick brown fox jumped over the lazy dog.
  36. </td>
  37. </tr>
  38. </table>
  39.  
  40. </body>
  41. </html>

Contents Haut

Exemple avec Shadow()

  1. <head>
  2. <title>filter:10()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Reply-to" content="cousteau.jacques-yves@infobrol.biz">
  5. <meta name="Publisher" content="Cousteau">
  6. <meta name="Copyright" content="Jacques-Yves Cousteau">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8.  
  9. body {
  10. margin: 2px;
  11. padding: 17px;
  12. font-family: verdana;
  13. font-size: 11px;
  14. min-width: 604px;
  15. }
  16. </style>
  17.  
  18. </head>
  19.  
  20. <body bgcolor="#FFFFFF" text="#000000">
  21. <form>
  22. <textarea id="test_textarea"
  23. style="filter:Shadow(color=#cdc9a5);"
  24. rows="12"
  25. cols="5">
  26. The quick brown fox jumped over the lazy dog.
  27. The quick brown fox jumped over the lazy dog.
  28. The quick brown fox jumped over the lazy dog.
  29. type="button"
  30. name="btn1"
  31. value="Test"
  32. style="filter:Shadow(color=#cdc9a5);" />
  33. </form>
  34. </body>
  35. </html>

Contents Haut

Exemple avec Wave()

  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:11()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Oswald Spengler">
  8. <meta name="Reply-to" content="tesla.nikola@infobrol.com">
  9. <meta name="Publisher" content="Tesla">
  10. <meta name="Copyright" content="Nikola Tesla">
  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: 2px;
  16. padding: 17px;
  17. font-family: verdana;
  18. font-size: 11px;
  19. min-width: 604px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <h1>Exemple de filtre Wave</h1>
  27. <div align="center">
  28. <img
  29. src="filter_11.gif"
  30. style="filter:Wave(freq=40, light=75, phase=70, strength=10)"
  31. width="150"
  32. height="166"
  33. alt="Exemple de filtre 11"
  34. border="0">
  35. </div>
  36. </body>
  37. </html>

Contents Haut

Exemple avec XRay()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:12()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Author" lang="fr" content="Jean-Michel Truong">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Publisher" content="Berkeley">
  8. <meta name="Copyright" content="George Berkeley">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre XRay</h1>
  13. <div align="center">
  14. <img
  15. src="filter_12.gif"
  16. style="filter:XRay()"
  17. width="167"
  18. height="81"
  19. alt="Exemple de filtre 12"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Contents 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.

Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph