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. <head>
  2. <title>filter:0()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Reply-to" content="weber.max@infobrol.pro">
  6. <meta name="Copyright" content="Max Weber">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8. </head>
  9. <body>
  10. <h1>Exemple de filtre Alpha</h1>
  11. <div align="center">
  12. <img
  13. src="filter_0.gif"
  14. style="filter:Alpha(opacity=61, finishopacity=0, style=0)"
  15. width="41"
  16. height="70"
  17. alt="Exemple de filtre 0"
  18. border="0">
  19. </div>
  20. </body>
  21. </html>

Contents Haut

Exemple avec Blur()

  1. <head>
  2. <title>filter:1()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Copyright" content="Jeremy Bentham">
  5. <meta http-equiv="content-language" content="fr">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7.  
  8. body {
  9. margin: 2px;
  10. padding: 19px;
  11. font-family: verdana;
  12. font-size: 12px;
  13. min-width: 686px;
  14. background:#FFFFFF;
  15. color:#000000;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body>
  22. width:100%;
  23. padding:16px;
  24. font-size:26pt;
  25. color:blue;
  26. filter:Blur(strength=11)">
  27. Exemples d'utilisation de filtres</p>
  28. </div>
  29.  
  30. <br />
  31. <br />
  32.  
  33. <tr valign="top">
  34. <td width="22%" height="218">
  35. The quick brown fox jumped over the lazy dog.
  36. </td>
  37. <td width="21%">
  38. &nbsp;
  39. </td>
  40. <td width="57%">
  41. The quick brown fox jumped over the lazy dog.
  42. The quick brown fox jumped over the lazy dog.
  43. The quick brown fox jumped over the lazy dog.
  44. </td>
  45. </tr>
  46. </table>
  47.  
  48. </body>
  49. </html>

Contents Haut

Exemple avec Chroma()

  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:2()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="george@boole.org">
  10. <meta name="Publisher" content="Boole">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <img
  14. style="filter:Chroma(color=#8470ff);"
  15. src="2Filter.jpg"
  16. align="center"
  17. width="104"
  18. height="117"
  19. alt="Chroma
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Chroma(color=#8470ff);">
  22. Chroma
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Contents Haut

Exemple avec DropShadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:3()</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="turing.alanmathison@infobrol.biz">
  7. <meta name="Publisher" content="Turing">
  8. <meta name="Copyright" content="Alan Mathison Turing">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <h1>Exemple de filtre DropShadow</h1>
  12. <div align="center">
  13. <img
  14. src="filter_3.gif"
  15. style="filter:DropShadow(color=#8470ff, offx=4, offy=3)"
  16. width="46"
  17. height="81"
  18. alt="Exemple de filtre 3"
  19. border="0">
  20. </div>
  21. </body>
  22. </html>

Contents Haut

Exemple avec FlipH()

  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:4()</title>
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="curry.haskell@gmail.com">
  9. <meta name="Publisher" content="Curry">
  10. <meta name="Copyright" content="Haskell Curry">
  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. <h1>Exemple de filtre FlipH</h1>
  16. <div align="center">
  17. <img
  18. src="filter_4.gif"
  19. style="filter:FlipH()"
  20. width="46"
  21. height="174"
  22. alt="Exemple de filtre 4"
  23. border="0">
  24. </div>
  25. </body>
  26. </html>

Contents 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="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Author" lang="fr" content="Larry Wall">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Copyright" content="Jean Meslier">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre FlipV</h1>
  14. <div align="center">
  15. <img
  16. src="filter_5.gif"
  17. style="filter:FlipV()"
  18. width="162"
  19. height="115"
  20. alt="Exemple de filtre 5"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Contents Haut

Exemple avec Glow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:6()</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="Reply-to" content="edward.appleton@gmail.com">
  7. <meta name="Publisher" content="Edward">
  8. <meta name="Copyright" content="Appleton Edward">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <form>
  12. <textarea id="test_textarea"
  13. style="filter:Glow(color=#8470ff, strength=2);"
  14. rows="17"
  15. cols="7">
  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:Glow(color=#8470ff, strength=2);" />
  23. </form>
  24. </body>
  25. </html>

Contents Haut

Exemple avec Gray()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:7()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  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="hamming.richard@infobrol.int">
  9. <meta name="Publisher" content="Hamming">
  10. <meta name="Copyright" content="Richard Hamming">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body>
  14. <form>
  15. <textarea id="test_textarea"
  16. style="filter:Gray();"
  17. rows="10"
  18. cols="9">
  19. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  20. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  21. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  22. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  23. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  24. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  25. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  26. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  27. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  28. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  29. Maecenas porttitor congue massa. Fusce posuere, magna sed
  30. pulvinar ultricies, purus lectus malesuada libero, sit amet
  31. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  32. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  33. tristique senectus et netus et malesuada fames ac turpis
  34. egestas. Proin pharetra nonummy pede.
  35. type="button"
  36. name="btn1"
  37. value="Test"
  38. style="filter:Gray();" />
  39. </form>
  40. </body>
  41. </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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Reply-to" content="thomas@edison.net">
  8. <meta name="Publisher" content="Edison">
  9. <meta name="Copyright" content="Thomas Edison">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. </head>
  13. <body>
  14. <form>
  15. <textarea id="test_textarea"
  16. style="filter:Invert();"
  17. rows="11"
  18. cols="20">
  19. The quick brown fox jumped over the lazy dog.
  20. type="button"
  21. name="btn1"
  22. value="Test"
  23. style="filter:Invert();" />
  24. </form>
  25. </body>
  26. </html>

Contents Haut

Exemple avec Mask()

  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:9()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Heinrich Rudolf Hertz">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="johnwilliam@mauchly.org">
  10. <meta name="Publisher" content="Mauchly">
  11. <meta name="Copyright" content="John William Mauchly">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body bgcolor="#FFFFFF" text="#000000">
  15. width:100%;
  16. padding:13px;
  17. font-size:19pt;
  18. color:blue;
  19. filter:Mask(color=#cdc9a5)">
  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. </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. The quick brown fox jumped over the lazy dog.
  38. The quick brown fox jumped over the lazy dog.
  39. </td>
  40. </tr>
  41. </table>
  42.  
  43. </body>
  44. </html>

Contents Haut

Exemple avec Shadow()

  1. <head>
  2. <title>filter:10()</title>
  3. <meta name="Copyright" content="Georg Hegel">
  4. <meta http-equiv="content-language" content="fr">
  5. </head>
  6. <body bgcolor="#FFFFFF" text="#000000">
  7. <h1>Exemple de filtre Shadow</h1>
  8. <div align="center">
  9. <img
  10. src="filter_10.gif"
  11. style="filter:Shadow(direction=315, color=#8470ff)"
  12. width="152"
  13. height="41"
  14. alt="Exemple de filtre 10"
  15. border="0">
  16. </div>
  17. </body>
  18. </html>

Contents 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 http-equiv="pragma" content="no-cache">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="taine.hippolyte@gmail.com">
  7. <meta name="Copyright" content="Hippolyte Taine">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <img
  12. style="filter:Wave(light=23, freq=19);"
  13. src="11Filter.jpg"
  14. align="center"
  15. width="118"
  16. height="96"
  17. alt="Wave
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:Wave(light=23, freq=19);">
  20. Wave
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </html>

Contents Haut

Exemple avec XRay()

  1. <head>
  2. <title>filter:12()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Author" lang="fr" content="Alessandro Volta">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Publisher" content="Pitrat">
  8. <meta name="Copyright" content="Jacques Pitrat">
  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. <img
  14. style="filter:XRay();"
  15. src="12Filter.jpg"
  16. align="center"
  17. width="104"
  18. height="95"
  19. alt="XRay
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:XRay();">
  22. XRay
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </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