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 input()

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

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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Publisher" content="Locke">
  9. <meta name="Copyright" content="John Locke">
  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. <img
  14. style="filter:Alpha(opacity=75, finishopacity=0, style=2);"
  15. src="0Filter.jpg"
  16. align="center"
  17. width="111"
  18. height="117"
  19. alt="Alpha
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Alpha(opacity=75, finishopacity=0, style=2);">
  22. Alpha
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Contents Haut

Exemple avec Blur()

  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:1()</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="newton.isaac@infobrol.tk">
  10. <meta name="Copyright" content="Isaac Newton">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. <div style="width: 100%; filter:Blur(direction=180, strength=1);">
  15. Ceci est un texte avec Blur...
  16. </div>
  17. </body>
  18. </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 name="Reply-to" content="thomson.william@infobrol.int">
  5. <meta name="Publisher" content="Thomson">
  6. <meta name="Copyright" content="William Thomson">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. </head>
  10. <body>
  11. width:100%;
  12. padding:10px;
  13. font-size:48pt;
  14. color:blue;
  15. filter:Chroma(color=#fafad2)">
  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. 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. </td>
  37. </tr>
  38. </table>
  39.  
  40. </body>
  41. </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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:3()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Copyright" content="Christian Doppler">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre DropShadow</h1>
  13. <div align="center">
  14. <img
  15. src="filter_3.gif"
  16. style="filter:DropShadow(color=#e0eee0)"
  17. width="96"
  18. height="183"
  19. alt="Exemple de filtre 3"
  20. border="0">
  21. </div>
  22. </body>
  23. </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="Author" lang="fr" content="Tim Berners-Lee">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Copyright" content="Benjamin Franklin">
  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: 16px;
  17. font-family: verdana;
  18. font-size: 20px;
  19. min-width: 629px;
  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="177"
  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="John Vincent Atanasoff">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="decoulomb.charles@infobrol.tk">
  10. <meta name="Publisher" content="de Coulomb">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 2px;
  15. padding: 16px;
  16. font-family: verdana;
  17. font-size: 20px;
  18. min-width: 629px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <img
  28. style="filter:FlipV();"
  29. src="5Filter.jpg"
  30. align="center"
  31. width="88"
  32. height="80"
  33. alt="FlipV
  34. appliqu&eacute; &agrave; une image">
  35. <span style="width: 100%; filter:FlipV();">
  36. FlipV
  37. appliqu&eacute; &agrave; du texte
  38. </span>
  39. </body>
  40. </html>

Contents Haut

Exemple avec Glow()

  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:6()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Benjamin Constant">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="john@venn.net">
  11. <meta name="Publisher" content="Venn">
  12. <meta name="Copyright" content="John Venn">
  13. <meta http-equiv="content-language" content="fr">
  14. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  15.  
  16. body {
  17. margin: 2px;
  18. padding: 16px;
  19. font-family: verdana;
  20. font-size: 20px;
  21. min-width: 629px;
  22. background:#FFFFFF;
  23. color:#000000;
  24. }
  25. </style>
  26.  
  27. </head>
  28.  
  29. <body>
  30. <div style="width: 100%; filter:Glow(strength=9, color=#e0eee0);">
  31. Ceci est un texte avec Glow...
  32. </div>
  33. </body>
  34. </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 name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Copyright" content="Gustav Ludwig Hertz">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 2px;
  13. padding: 16px;
  14. font-family: verdana;
  15. font-size: 20px;
  16. min-width: 629px;
  17. background:#FFFFFF;
  18. color:#000000;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body>
  25. <h1>Exemple de filtre Gray</h1>
  26. width:100%; padding:20px; font-size:26pt; color:red;
  27. filter:7()">
  28. Application de Gray(),
  29. texte avec Gray
  30. The quick brown fox jumped over the lazy dog.
  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. </div>
  35. </body>
  36. </html>

Contents Haut

Exemple avec Invert()

  1. <head>
  2. <title>filter:8()</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="evangelista@torricelli.info">
  7. <meta name="Publisher" content="Torricelli">
  8. <meta name="Copyright" content="Evangelista Torricelli">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <h1>Exemple de filtre Invert</h1>
  13. <div align="center">
  14. <img
  15. src="filter_8.gif"
  16. style="filter:Invert()"
  17. width="173"
  18. height="132"
  19. alt="Exemple de filtre 8"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Contents Haut

Exemple avec Mask()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:9()</title>
  4. <meta http-equiv="pragma" content="no-cache">
  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="tavernier.guy@gmail.com">
  8. <meta name="Publisher" content="Tavernier">
  9. <meta name="Copyright" content="Guy Tavernier">
  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: 2px;
  15. padding: 16px;
  16. font-family: verdana;
  17. font-size: 20px;
  18. min-width: 629px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <form>
  28. <textarea id="test_textarea"
  29. style="filter:Mask(color=#e0eee0);"
  30. rows="9"
  31. cols="8">
  32. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  33. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  34. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  35. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  36. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  37. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  38. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  39. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  40. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  41. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  42. Maecenas porttitor congue massa. Fusce posuere, magna sed
  43. pulvinar ultricies, purus lectus malesuada libero, sit amet
  44. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  45. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  46. tristique senectus et netus et malesuada fames ac turpis
  47. egestas. Proin pharetra nonummy pede.
  48. type="button"
  49. name="btn1"
  50. value="Test"
  51. style="filter:Mask(color=#e0eee0);" />
  52. </form>
  53. </body>
  54. </html>

Contents 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="Author" lang="fr" content="Isaac Newton">
  9. <meta name="Reply-to" content="edward.appleton@infobrol.com">
  10. <meta name="Publisher" content="Edward">
  11. <meta name="Copyright" content="Appleton Edward">
  12. </head>
  13. <body>
  14. width:100%;
  15. padding:15px;
  16. font-size:26pt;
  17. color:blue;
  18. filter:Shadow(color=#e0eee0)">
  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. 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. </td>
  39. </tr>
  40. </table>
  41.  
  42. </body>
  43. </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="Alan Mathison Turing">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="bonnet.charles@infobrol.biz">
  11. <meta name="Publisher" content="Bonnet">
  12. <meta name="Copyright" content="Charles Bonnet">
  13. <meta http-equiv="content-language" content="fr">
  14. </head>
  15. <body>
  16. <div style="width: 100%; filter:Wave(freq=24, light=14, phase=81, strength=8);">
  17. Ceci est un texte avec Wave...
  18. </div>
  19. </body>
  20. </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="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Reply-to" content="kenneth@thompson.org">
  6. <meta name="Publisher" content="Thompson">
  7. <meta name="Copyright" content="Kenneth Thompson">
  8. </head>
  9. <body>
  10. <img
  11. style="filter:XRay();"
  12. src="12Filter.jpg"
  13. align="center"
  14. width="120"
  15. height="108"
  16. alt="XRay
  17. appliqu&eacute; &agrave; une image">
  18. <span style="width: 100%; filter:XRay();">
  19. XRay
  20. appliqu&eacute; &agrave; du texte
  21. </span>
  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.

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 27/02/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/html-filtres-rf-mask.html/xhtml-rf-tr.html/xhtml-rf-input.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Filtres : selfhtml (version 13/02/10)

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut