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.

Filtre button()

Impossible de trouver des informations à propos du filtre button().

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. <?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 name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="ludwig@wittgenstein.net">
  8. <meta name="Copyright" content="Ludwig Wittgenstein">
  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:Alpha(opacity=45, finishopacity=0, style=0);"
  15. src="0Filter.jpg"
  16. align="center"
  17. width="81"
  18. height="120"
  19. alt="Alpha
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Alpha(opacity=45, finishopacity=0, style=0);">
  22. Alpha
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Contents 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 http-equiv="pragma" content="no-cache">
  6. <meta name="Reply-to" content="kay.alan@infobrol.com">
  7. <meta name="Publisher" content="Kay">
  8. <meta name="Copyright" content="Alan Kay">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 1px;
  14. padding: 15px;
  15. font-family: verdana;
  16. font-size: 10px;
  17. min-width: 633px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <form>
  27. <textarea id="test_textarea"
  28. style="filter:Blur(direction=225, strength=5);"
  29. rows="13"
  30. cols="14">
  31. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  32. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  33. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  34. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  35. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  36. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  37. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  38. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  39. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  40. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  41. Maecenas porttitor congue massa. Fusce posuere, magna sed
  42. pulvinar ultricies, purus lectus malesuada libero, sit amet
  43. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  44. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  45. tristique senectus et netus et malesuada fames ac turpis
  46. egestas. Proin pharetra nonummy pede.
  47. type="button"
  48. name="btn1"
  49. value="Test"
  50. style="filter:Blur(direction=225, strength=5);" />
  51. </form>
  52. </body>
  53. </html>

Contents Haut

Exemple avec Chroma()

  1. <head>
  2. <title>filter:2()</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="Publisher" content="Wittgenstein">
  7. <meta name="Copyright" content="Ludwig Wittgenstein">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 4px;
  13. padding: 10px;
  14. font-family: verdana;
  15. font-size: 9px;
  16. min-width: 628px;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body bgcolor="#FFFFFF" text="#000000">
  23. <h1>Exemple de filtre Chroma</h1>
  24. width:100%; padding:9px; font-size:42pt; color:red;
  25. filter:2(color=#cd853f)">
  26. Application de Chroma(),
  27. texte avec Chroma
  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. The quick brown fox jumped over the lazy dog.
  32. </div>
  33. </body>
  34. </html>

Contents Haut

Exemple avec DropShadow()

  1. <head>
  2. <title>filter:3()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Author" lang="fr" content="Nikola Tesla">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="joule.jamesprescott@gmail.com">
  8. <meta name="Copyright" content="James Prescott Joule">
  9. </head>
  10. <body>
  11. <h1>Exemple de filtre DropShadow</h1>
  12. width:100%; padding:19px; font-size:50pt; color:red;
  13. filter:3(color=#cdc9a5)">
  14. Application de DropShadow(),
  15. texte avec DropShadow
  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. The quick brown fox jumped over the lazy dog.
  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. <head>
  4. <title>filter:4()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Author" lang="fr" content="Gaspard-Gustave Coriolis">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Publisher" content="Chevalier">
  10. <meta name="Copyright" content="Michel Chevalier">
  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: 1px;
  16. padding: 15px;
  17. font-family: verdana;
  18. font-size: 10px;
  19. min-width: 633px;
  20. background:#FFFFFF;
  21. color:#000000;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28. <h1>Exemple de filtre FlipH</h1>
  29. <div align="center">
  30. <img
  31. src="filter_4.gif"
  32. style="filter:FlipH()"
  33. width="102"
  34. height="155"
  35. alt="Exemple de filtre 4"
  36. border="0">
  37. </div>
  38. </body>
  39. </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 http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="Pierre Duhem">
  8. <meta name="Reply-to" content="torvalds.linus@gmail.com">
  9. <meta name="Copyright" content="Linus Torvalds">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 1px;
  15. padding: 15px;
  16. font-family: verdana;
  17. font-size: 10px;
  18. min-width: 633px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <h1>Exemple de filtre FlipV</h1>
  28. <div align="center">
  29. <img
  30. src="filter_5.gif"
  31. style="filter:FlipV()"
  32. width="153"
  33. height="26"
  34. alt="Exemple de filtre 5"
  35. border="0">
  36. </div>
  37. </body>
  38. </html>

Contents Haut

Exemple avec Glow()

  1. <head>
  2. <title>filter:6()</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="freud.sigmund@gmail.com">
  6. <meta name="Copyright" content="Sigmund Freud">
  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: 1px;
  12. padding: 15px;
  13. font-family: verdana;
  14. font-size: 10px;
  15. min-width: 633px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <img
  25. style="filter:Glow(color=#cdc9a5);"
  26. src="6Filter.jpg"
  27. align="center"
  28. width="102"
  29. height="76"
  30. alt="Glow
  31. appliqu&eacute; &agrave; une image">
  32. <span style="width: 100%; filter:Glow(color=#cdc9a5);">
  33. Glow
  34. appliqu&eacute; &agrave; du texte
  35. </span>
  36. </body>
  37. </html>

Contents Haut

Exemple avec Gray()

  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:7()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="David Clark">
  8. <meta name="Reply-to" content="newton.isaac@gmail.com">
  9. <meta name="Publisher" content="Newton">
  10. <meta name="Copyright" content="Isaac Newton">
  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 Gray</h1>
  16. <div align="center">
  17. <img
  18. src="filter_7.gif"
  19. style="filter:Gray()"
  20. width="87"
  21. height="129"
  22. alt="Exemple de filtre 7"
  23. border="0">
  24. </div>
  25. </body>
  26. </html>

Contents Haut

Exemple avec Invert()

  1. <head>
  2. <title>filter:8()</title>
  3. <meta name="Author" lang="fr" content="Louis Pasteur">
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Reply-to" content="khayyam.omar@infobrol.tk">
  6. <meta name="Publisher" content="Khayyam">
  7. <meta name="Copyright" content="Omar Khayyam">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 1px;
  13. padding: 15px;
  14. font-family: verdana;
  15. font-size: 10px;
  16. min-width: 633px;
  17. background:#FFFFFF;
  18. color:#000000;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body>
  25. <form>
  26. <textarea id="test_textarea"
  27. style="filter:Invert();"
  28. rows="20"
  29. cols="10">
  30. The quick brown fox jumped over the lazy dog.
  31. type="button"
  32. name="btn1"
  33. value="Test"
  34. style="filter:Invert();" />
  35. </form>
  36. </body>
  37. </html>

Contents Haut

Exemple avec Mask()

  1. <head>
  2. <title>filter:9()</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="Lysander Spooner">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Copyright" content="Claude Shannon">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 4px;
  12. padding: 10px;
  13. font-family: verdana;
  14. font-size: 9px;
  15. min-width: 628px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. <h1>Exemple de filtre Mask</h1>
  23. <div align="center">
  24. <img
  25. src="filter_9.gif"
  26. style="filter:Mask(color=#cdc9a5)"
  27. width="79"
  28. height="101"
  29. alt="Exemple de filtre 9"
  30. border="0">
  31. </div>
  32. </body>
  33. </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 http-equiv="pragma" content="no-cache">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="alexei@abrikosov.info">
  7. <meta name="Copyright" content="Alexei Abrikosov">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body>
  11. <img
  12. style="filter:Shadow(direction=135, color=#cd853f);"
  13. src="10Filter.jpg"
  14. align="center"
  15. width="113"
  16. height="116"
  17. alt="Shadow
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:Shadow(direction=135, color=#cd853f);">
  20. Shadow
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </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="Friedrich Nietzsche">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Copyright" content="Philippe Kahn">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <img
  14. style="filter:Wave(light=77, freq=43);"
  15. src="11Filter.jpg"
  16. align="center"
  17. width="109"
  18. height="87"
  19. alt="Wave
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Wave(light=77, freq=43);">
  22. Wave
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Contents Haut

Exemple avec XRay()

  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:12()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Author" lang="fr" content="Benjamin Tucker">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Reply-to" content="strachey.christopher@infobrol.com">
  11. <meta name="Copyright" content="Christopher Strachey">
  12. <meta http-equiv="content-language" content="fr">
  13. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  14. <body bgcolor="#FFFFFF" text="#000000">
  15. <img
  16. style="filter:XRay();"
  17. src="12Filter.jpg"
  18. align="center"
  19. width="105"
  20. height="97"
  21. alt="XRay
  22. appliqu&eacute; &agrave; une image">
  23. <span style="width: 100%; filter:XRay();">
  24. XRay
  25. appliqu&eacute; &agrave; du texte
  26. </span>
  27. </body>
  28. </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