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

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

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="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Reply-to" content="curie.marie@infobrol.edu">
  7. <meta name="Copyright" content="Marie Curie">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <h1>Exemple de filtre Alpha</h1>
  12. <div align="center">
  13. <img
  14. src="filter_0.gif"
  15. style="filter:Alpha(opacity=89, finishopacity=0, style=2)"
  16. width="48"
  17. height="159"
  18. alt="Exemple de filtre 0"
  19. border="0">
  20. </div>
  21. </body>
  22. </html>

Contents Haut

Exemple avec Blur()

  1. <head>
  2. <title>filter:1()</title>
  3. <meta name="Author" lang="fr" content="Joseph Weizenbaum">
  4. <meta name="Reply-to" content="bloch.ernst@infobrol.pro">
  5. <meta name="Copyright" content="Ernst Bloch">
  6. <meta http-equiv="content-language" content="fr">
  7. </head>
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. width:100%;
  10. padding:11px;
  11. font-size:39pt;
  12. color:blue;
  13. filter:Blur(strength=19)">
  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. </td>
  24. <td width="21%">
  25. &nbsp;
  26. </td>
  27. <td width="57%">
  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. </td>
  32. </tr>
  33. </table>
  34.  
  35. </body>
  36. </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. <head>
  4. <title>filter:2()</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="Heinrich Rudolf Hertz">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="michael@faraday.info">
  10. <meta name="Copyright" content="Michael Faraday">
  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: 4px;
  16. padding: 2px;
  17. font-family: verdana;
  18. font-size: 15px;
  19. min-width: 641px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. width:100%;
  27. padding:12px;
  28. font-size:39pt;
  29. color:blue;
  30. filter:Chroma(color=#fafad2)">
  31. Exemples d'utilisation de filtres</p>
  32. </div>
  33.  
  34. <br />
  35. <br />
  36.  
  37. <tr valign="top">
  38. <td width="22%" height="218">
  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. The quick brown fox jumped over the lazy dog.
  43. The quick brown fox jumped over the lazy dog.
  44. </td>
  45. <td width="21%">
  46. &nbsp;
  47. </td>
  48. <td width="57%">
  49. The quick brown fox jumped over the lazy dog.
  50. The quick brown fox jumped over the lazy dog.
  51. The quick brown fox jumped over the lazy dog.
  52. The quick brown fox jumped over the lazy dog.
  53. </td>
  54. </tr>
  55. </table>
  56.  
  57. </body>
  58. </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="Author" lang="fr" content="Seymour Cray">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Copyright" content="John Venn">
  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. <h1>Exemple de filtre DropShadow</h1>
  14. width:100%; padding:18px; font-size:30pt; color:red;
  15. filter:3(color=#fafad2, offx=4, offy=4)">
  16. Application de DropShadow(),
  17. texte avec DropShadow
  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 FlipH()

  1. <head>
  2. <title>filter:4()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="Haskell Curry">
  5. <meta name="Reply-to" content="andrewstuart@tanenbaum.info">
  6. <meta name="Publisher" content="Tanenbaum">
  7. <meta name="Copyright" content="Andrew Stuart Tanenbaum">
  8. </head>
  9. <body>
  10. <h1>Exemple de filtre FlipH</h1>
  11. <div align="center">
  12. <img
  13. src="filter_4.gif"
  14. style="filter:FlipH()"
  15. width="100"
  16. height="29"
  17. alt="Exemple de filtre 4"
  18. border="0">
  19. </div>
  20. </body>
  21. </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="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="louis@pasteur.net">
  7. <meta name="Publisher" content="Pasteur">
  8. <meta name="Copyright" content="Louis Pasteur">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre FlipV</h1>
  13. <div align="center">
  14. <img
  15. src="filter_5.gif"
  16. style="filter:FlipV()"
  17. width="67"
  18. height="87"
  19. alt="Exemple de filtre 5"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Contents Haut

Exemple avec Glow()

  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:6()</title>
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Reply-to" content="jamesalfred.vanallen@infobrol.edu">
  8. <meta name="Copyright" content="Van Allen James Alfred">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 4px;
  13. padding: 16px;
  14. font-family: verdana;
  15. font-size: 20px;
  16. min-width: 733px;
  17. background:#FFFFFF;
  18. color:#000000;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body>
  25. width:100%;
  26. padding:6px;
  27. font-size:14pt;
  28. color:blue;
  29. filter:Glow(strength=6, color=#528b8b)">
  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. </td>
  40. <td width="21%">
  41. &nbsp;
  42. </td>
  43. <td width="57%">
  44. The quick brown fox jumped over the lazy dog.
  45. The quick brown fox jumped over the lazy dog.
  46. </td>
  47. </tr>
  48. </table>
  49.  
  50. </body>
  51. </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="pragma" content="no-cache">
  5. <meta name="Reply-to" content="wilbur@wright.info">
  6. <meta name="Publisher" content="Wright">
  7. <meta name="Copyright" content="Wilbur Wright">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. </head>
  10. <body>
  11. <h1>Exemple de filtre Gray</h1>
  12. width:100%; padding:12px; font-size:32pt; color:red;
  13. filter:7()">
  14. Application de Gray(),
  15. texte avec Gray
  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 Invert()

  1. <head>
  2. <title>filter:8()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Reply-to" content="strachey.christopher@infobrol.com">
  5. <meta name="Copyright" content="Christopher Strachey">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7. <body bgcolor="#FFFFFF" text="#000000">
  8. <h1>Exemple de filtre Invert</h1>
  9. <div align="center">
  10. <img
  11. src="filter_8.gif"
  12. style="filter:Invert()"
  13. width="200"
  14. height="191"
  15. alt="Exemple de filtre 8"
  16. border="0">
  17. </div>
  18. </body>
  19. </html>

Contents 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:9()</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="John Millar">
  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: 4px;
  14. padding: 16px;
  15. font-family: verdana;
  16. font-size: 20px;
  17. min-width: 733px;
  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:Mask(color=#fafad2);"
  29. rows="16"
  30. cols="5">
  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. type="button"
  35. name="btn1"
  36. value="Test"
  37. style="filter:Mask(color=#fafad2);" />
  38. </form>
  39. </body>
  40. </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 name="Author" lang="fr" content="Jacques Pitrat">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Publisher" content="Burke">
  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: 4px;
  12. padding: 2px;
  13. font-family: verdana;
  14. font-size: 15px;
  15. min-width: 641px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. <h1>Exemple de filtre Shadow</h1>
  23. width:100%; padding:16px; font-size:45pt; color:red;
  24. filter:10(direction=0, color=#fafad2)">
  25. Application de Shadow(),
  26. texte avec Shadow
  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. </div>
  32. </body>
  33. </html>

Contents Haut

Exemple avec Wave()

  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:11()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Reply-to" content="rasmus@lerdorf.org">
  9. <meta name="Publisher" content="Lerdorf">
  10. <meta name="Copyright" content="Rasmus Lerdorf">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 4px;
  15. padding: 16px;
  16. font-family: verdana;
  17. font-size: 20px;
  18. min-width: 733px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <div style="width: 100%; filter:Wave(freq=23, light=4, phase=26, strength=9);">
  28. Ceci est un texte avec Wave...
  29. </div>
  30. </body>
  31. </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="Reply-to" content="tavernier.guy@infobrol.edu">
  5. <meta name="Copyright" content="Guy Tavernier">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7. <body bgcolor="#FFFFFF" text="#000000">
  8. <img
  9. style="filter:XRay();"
  10. src="12Filter.jpg"
  11. align="center"
  12. width="98"
  13. height="106"
  14. alt="XRay
  15. appliqu&eacute; &agrave; une image">
  16. <span style="width: 100%; filter:XRay();">
  17. XRay
  18. appliqu&eacute; &agrave; du texte
  19. </span>
  20. </body>
  21. </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/html-filtres-rf-shadow.html/xhtml-rf-div.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