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

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

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="Author" lang="fr" content="James Mill">
  9. <meta name="Reply-to" content="gelenbe.erol@infobrol.tk">
  10. <meta name="Publisher" content="Gelenbe">
  11. <meta name="Copyright" content="Erol Gelenbe">
  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:Alpha(opacity=73, finishopacity=0, style=3);"
  17. src="0Filter.jpg"
  18. align="center"
  19. width="90"
  20. height="80"
  21. alt="Alpha
  22. appliqu&eacute; &agrave; une image">
  23. <span style="width: 100%; filter:Alpha(opacity=73, finishopacity=0, style=3);">
  24. Alpha
  25. appliqu&eacute; &agrave; du texte
  26. </span>
  27. </body>
  28. </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. <head>
  4. <title>filter:1()</title>
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="ivanpetrovitch@pavlov.org">
  8. <meta name="Copyright" content="Ivan Petrovitch Pavlov">
  9. </head>
  10. <body>
  11. <img
  12. style="filter:Blur(strength=17);"
  13. src="1Filter.jpg"
  14. align="center"
  15. width="118"
  16. height="85"
  17. alt="Blur
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:Blur(strength=17);">
  20. Blur
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </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 http-equiv="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Richard Stallman">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="wernher.vonbraun@gmail.com">
  9. <meta name="Copyright" content="von Braun Wernher">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre Chroma</h1>
  14. width:100%; padding:6px; font-size:27pt; color:red;
  15. filter:2(color=#cdc9a5)">
  16. Application de Chroma(),
  17. texte avec Chroma
  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 DropShadow()

  1. <head>
  2. <title>filter:3()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Reply-to" content="albert@einstein.net">
  5. <meta name="Publisher" content="Einstein">
  6. <meta name="Copyright" content="Albert Einstein">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8.  
  9. body {
  10. margin: 1px;
  11. padding: 9px;
  12. font-family: verdana;
  13. font-size: 15px;
  14. min-width: 620px;
  15. background:#FFFFFF;
  16. color:#000000;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body>
  23. <h1>Exemple de filtre DropShadow</h1>
  24. width:100%; padding:7px; font-size:42pt; color:red;
  25. filter:3(color=#cdc9a5, offx=1, offy=4)">
  26. Application de DropShadow(),
  27. texte avec DropShadow
  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 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 name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="jamesalfred.vanallen@gmail.com">
  8. <meta name="Copyright" content="Van Allen James Alfred">
  9. </head>
  10. <body>
  11. <img
  12. style="filter:FlipH();"
  13. src="4Filter.jpg"
  14. align="center"
  15. width="116"
  16. height="85"
  17. alt="FlipH
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:FlipH();">
  20. FlipH
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </html>

Contents Haut

Exemple avec FlipV()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:5()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Reply-to" content="dijkstra.edsger@gmail.com">
  6. <meta name="Publisher" content="Dijkstra">
  7. <meta name="Copyright" content="Edsger Dijkstra">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <h1>Exemple de filtre FlipV</h1>
  12. <div align="center">
  13. <img
  14. src="filter_5.gif"
  15. style="filter:FlipV()"
  16. width="145"
  17. height="43"
  18. alt="Exemple de filtre 5"
  19. border="0">
  20. </div>
  21. </body>
  22. </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 name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="john@locke.org">
  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.  
  13. body {
  14. margin: 1px;
  15. padding: 13px;
  16. font-family: verdana;
  17. font-size: 18px;
  18. min-width: 675px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. width:100%;
  26. padding:19px;
  27. font-size:12pt;
  28. color:blue;
  29. filter:Glow(strength=6, color=#cdc9a5)">
  30. Exemples d'utilisation de filtres</p>
  31. </div>
  32.  
  33. <br />
  34. <br />
  35.  
  36. <tr valign="top">
  37. <td width="22%" height="218">
  38. The quick brown fox jumped over the lazy dog.
  39. The quick brown fox jumped over the lazy dog.
  40. The quick brown fox jumped over the lazy dog.
  41. The quick brown fox jumped over the lazy dog.
  42. </td>
  43. <td width="21%">
  44. &nbsp;
  45. </td>
  46. <td width="57%">
  47. The quick brown fox jumped over the lazy dog.
  48. The quick brown fox jumped over the lazy dog.
  49. </td>
  50. </tr>
  51. </table>
  52.  
  53. </body>
  54. </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 name="Author" lang="fr" content="Gaspard-Gustave Coriolis">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="gustavludwig@hertz.info">
  8. <meta name="Publisher" content="Hertz">
  9. <meta name="Copyright" content="Gustav Ludwig Hertz">
  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:Gray();"
  17. rows="17"
  18. cols="13">
  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. type="button"
  23. name="btn1"
  24. value="Test"
  25. style="filter:Gray();" />
  26. </form>
  27. </body>
  28. </html>

Contents 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="Author" lang="fr" content="James Mill">
  7. <meta name="Reply-to" content="frank@gray.org">
  8. <meta name="Copyright" content="Frank Gray">
  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:Invert();"
  15. src="8Filter.jpg"
  16. align="center"
  17. width="75"
  18. height="87"
  19. alt="Invert
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Invert();">
  22. Invert
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Contents Haut

Exemple avec Mask()

  1. <head>
  2. <title>filter:9()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Reply-to" content="louis@pasteur.net">
  5. <meta name="Copyright" content="Louis Pasteur">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7.  
  8. body {
  9. margin: 1px;
  10. padding: 13px;
  11. font-family: verdana;
  12. font-size: 18px;
  13. min-width: 675px;
  14. }
  15. </style>
  16.  
  17. </head>
  18.  
  19. <body bgcolor="#FFFFFF" text="#000000">
  20. <h1>Exemple de filtre Mask</h1>
  21. <div align="center">
  22. <img
  23. src="filter_9.gif"
  24. style="filter:Mask(color=#cdc9a5)"
  25. width="77"
  26. height="12"
  27. alt="Exemple de filtre 9"
  28. border="0">
  29. </div>
  30. </body>
  31. </html>

Contents 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 http-equiv="pragma" content="no-cache">
  7. <meta name="Reply-to" content="kay.alan@gmail.com">
  8. <meta name="Publisher" content="Kay">
  9. <meta name="Copyright" content="Alan Kay">
  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. <h1>Exemple de filtre Shadow</h1>
  15. width:100%; padding:16px; font-size:45pt; color:red;
  16. filter:10(direction=90, color=#cdc9a5)">
  17. Application de Shadow(),
  18. texte avec Shadow
  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. The quick brown fox jumped over the lazy dog.
  23. </div>
  24. </body>
  25. </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="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="William Godwin">
  8. <meta name="Reply-to" content="duns@scot.net">
  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:Wave(freq=7, light=20, phase=82, strength=2);"
  15. src="11Filter.jpg"
  16. align="center"
  17. width="88"
  18. height="80"
  19. alt="Wave
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Wave(freq=7, light=20, phase=82, strength=2);">
  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="pragma" content="no-cache">
  7. <meta name="Reply-to" content="shannon.claude@infobrol.com">
  8. <meta name="Publisher" content="Shannon">
  9. <meta name="Copyright" content="Claude Shannon">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre XRay</h1>
  14. <div align="center">
  15. <img
  16. src="filter_12.gif"
  17. style="filter:XRay()"
  18. width="154"
  19. height="189"
  20. alt="Exemple de filtre 12"
  21. border="0">
  22. </div>
  23. </body>
  24. </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