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

Table des matières 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="Author" lang="fr" content="Hippolyte Taine">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Reply-to" content="pitrat.jacques@infobrol.biz">
  11. <meta name="Publisher" content="Pitrat">
  12. <meta name="Copyright" content="Jacques Pitrat">
  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: 0px;
  18. padding: 0px;
  19. font-family: verdana;
  20. font-size: 16px;
  21. min-width: 620px;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body bgcolor="#FFFFFF" text="#000000">
  28. <img
  29. style="filter:Alpha(opacity=96, finishopacity=0, style=3);"
  30. src="0Filter.jpg"
  31. align="center"
  32. width="79"
  33. height="80"
  34. alt="Alpha
  35. appliqu&eacute; &agrave; une image">
  36. <span style="width: 100%; filter:Alpha(opacity=96, finishopacity=0, style=3);">
  37. Alpha
  38. appliqu&eacute; &agrave; du texte
  39. </span>
  40. </body>
  41. </html>

Table des matières 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="Copyright" content="Barbara Liskov">
  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: 0px;
  12. padding: 19px;
  13. font-family: verdana;
  14. font-size: 11px;
  15. min-width: 737px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <h1>Exemple de filtre Blur</h1>
  25. width:100%; padding:17px; font-size:38pt; color:red;
  26. filter:1(direction=180, strength=16)">
  27. Application de Blur(),
  28. texte avec Blur
  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. The quick brown fox jumped over the lazy dog.
  33. </div>
  34. </body>
  35. </html>

Table des matières Haut

Exemple avec Chroma()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:2()</title>
  4. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  5. <meta name="Reply-to" content="cournot.antoine@gmail.com">
  6. <meta name="Copyright" content="Antoine Cournot">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <div style="width: 100%; filter:Chroma(color=#528b8b);">
  11. Ceci est un texte avec Chroma...
  12. </div>
  13. </body>
  14. </html>

Table des matières 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 name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Reply-to" content="gates.bill@gmail.com">
  7. <meta name="Publisher" content="Gates">
  8. <meta name="Copyright" content="Bill Gates">
  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: 0px;
  14. padding: 0px;
  15. font-family: verdana;
  16. font-size: 16px;
  17. min-width: 620px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <h1>Exemple de filtre DropShadow</h1>
  25. <div align="center">
  26. <img
  27. src="filter_3.gif"
  28. style="filter:DropShadow(color=#8470ff)"
  29. width="138"
  30. height="56"
  31. alt="Exemple de filtre 3"
  32. border="0">
  33. </div>
  34. </body>
  35. </html>

Table des matières 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="wittgenstein.ludwig@gmail.com">
  10. <meta name="Publisher" content="Wittgenstein">
  11. <meta name="Copyright" content="Ludwig Wittgenstein">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body bgcolor="#FFFFFF" text="#000000">
  15. <img
  16. style="filter:FlipH();"
  17. src="4Filter.jpg"
  18. align="center"
  19. width="86"
  20. height="83"
  21. alt="FlipH
  22. appliqu&eacute; &agrave; une image">
  23. <span style="width: 100%; filter:FlipH();">
  24. FlipH
  25. appliqu&eacute; &agrave; du texte
  26. </span>
  27. </body>
  28. </html>

Table des matières 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:5()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="raskin.jef@infobrol.com">
  9. <meta name="Publisher" content="Raskin">
  10. <meta name="Copyright" content="Jef Raskin">
  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: 0px;
  16. padding: 0px;
  17. font-family: verdana;
  18. font-size: 16px;
  19. min-width: 620px;
  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="129"
  32. height="54"
  33. alt="Exemple de filtre 5"
  34. border="0">
  35. </div>
  36. </body>
  37. </html>

Table des matières Haut

Exemple avec Glow()

  1. <head>
  2. <title>filter:6()</title>
  3. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  4. <meta name="Reply-to" content="fahrenheit.gabriel@infobrol.tk">
  5. <meta name="Copyright" content="Gabriel Fahrenheit">
  6. <meta http-equiv="content-language" content="fr">
  7. </head>
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. width:100%;
  10. padding:8px;
  11. font-size:32pt;
  12. color:blue;
  13. filter:Glow(color=#528b8b, strength=18)">
  14. Exemples d'utilisation de filtres</p>
  15. </div>
  16.  
  17. <br />
  18. <br />
  19.  
  20. <tr valign="top">
  21. <td width="22%" height="218">
  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. 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. The quick brown fox jumped over the lazy dog.
  34. The quick brown fox jumped over the lazy dog.
  35. </td>
  36. </tr>
  37. </table>
  38.  
  39. </body>
  40. </html>

Table des matières Haut

Exemple avec Gray()

  1. <head>
  2. <title>filter:7()</title>
  3. <meta name="Description" content="Utilisation des filtres, Demo">
  4. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  5. <meta name="Reply-to" content="curie.pierre@infobrol.edu">
  6. <meta name="Copyright" content="Pierre Curie">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8.  
  9. body {
  10. margin: 0px;
  11. padding: 0px;
  12. font-family: verdana;
  13. font-size: 16px;
  14. min-width: 620px;
  15. }
  16. </style>
  17.  
  18. </head>
  19.  
  20. <body bgcolor="#FFFFFF" text="#000000">
  21. <div style="width: 100%; filter:Gray();">
  22. Ceci est un texte avec Gray...
  23. </div>
  24. </body>
  25. </html>

Table des matières 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 http-equiv="pragma" content="no-cache">
  6. <meta name="Reply-to" content="lequier.jules@infobrol.pro">
  7. <meta name="Copyright" content="Jules Lequier">
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. width:100%;
  11. padding:14px;
  12. font-size:46pt;
  13. color:blue;
  14. filter:Invert()">
  15. Exemples d'utilisation de filtres</p>
  16. </div>
  17.  
  18. <br />
  19. <br />
  20.  
  21. <tr valign="top">
  22. <td width="22%" height="218">
  23. The quick brown fox jumped over the lazy dog.
  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. The quick brown fox jumped over the lazy dog.
  34. The quick brown fox jumped over the lazy dog.
  35. </td>
  36. </tr>
  37. </table>
  38.  
  39. </body>
  40. </html>

Table des matières 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="Publisher" content="de Coulomb">
  9. <meta name="Copyright" content="Charles de Coulomb">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. width:100%;
  14. padding:20px;
  15. font-size:20pt;
  16. color:blue;
  17. filter:Mask(color=#528b8b)">
  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. 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>

Table des matières Haut

Exemple avec Shadow()

  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:10()</title>
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  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. <form>
  13. <textarea id="test_textarea"
  14. style="filter:Shadow(color=#8470ff);"
  15. rows="19"
  16. cols="9">
  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. type="button"
  21. name="btn1"
  22. value="Test"
  23. style="filter:Shadow(color=#8470ff);" />
  24. </form>
  25. </body>
  26. </html>

Table des matières Haut

Exemple avec Wave()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:11()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Copyright" content="Roger Bacon">
  6. </head>
  7. <body bgcolor="#FFFFFF" text="#000000">
  8. width:100%;
  9. padding:13px;
  10. font-size:18pt;
  11. color:blue;
  12. filter:Wave(freq=17, light=45, phase=55, strength=6)">
  13. Exemples d'utilisation de filtres</p>
  14. </div>
  15.  
  16. <br />
  17. <br />
  18.  
  19. <tr valign="top">
  20. <td width="22%" height="218">
  21. The quick brown fox jumped over the lazy dog.
  22. </td>
  23. <td width="21%">
  24. &nbsp;
  25. </td>
  26. <td width="57%">
  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. The quick brown fox jumped over the lazy dog.
  31. The quick brown fox jumped over the lazy dog.
  32. </td>
  33. </tr>
  34. </table>
  35.  
  36. </body>
  37. </html>

Table des matières 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 name="Author" lang="fr" content="Richard Hamming">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Copyright" content="Emmanuel Kant">
  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. <img
  15. style="filter:XRay();"
  16. src="12Filter.jpg"
  17. align="center"
  18. width="102"
  19. height="112"
  20. alt="XRay
  21. appliqu&eacute; &agrave; une image">
  22. <span style="width: 100%; filter:XRay();">
  23. XRay
  24. appliqu&eacute; &agrave; du texte
  25. </span>
  26. </body>
  27. </html>

Table des matières 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.

Document créé le 27/02/2003, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/html-filtres-rf-dropshadow.html/xhtml-rf-input.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Filtres : selfhtml (version 13/02/10)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut