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 http-equiv="pragma" content="no-cache">
  5. <meta name="Author" lang="fr" content="Antoine Cournot">
  6. <meta name="Reply-to" content="cox.alan@gmail.com">
  7. <meta name="Publisher" content="Cox">
  8. <meta name="Copyright" content="Alan Cox">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <img
  13. style="filter:Alpha(opacity=100, finishopacity=0, style=2);"
  14. src="0Filter.jpg"
  15. align="center"
  16. width="104"
  17. height="112"
  18. alt="Alpha
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:Alpha(opacity=100, finishopacity=0, style=2);">
  21. Alpha
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </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 name="Author" lang="fr" content="Werner Koch">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="dunoyer.charles@infobrol.pro">
  10. <meta name="Publisher" content="Dunoyer">
  11. <meta name="Copyright" content="Charles Dunoyer">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body bgcolor="#FFFFFF" text="#000000">
  15. <div style="width: 100%; filter:Blur(strength=9);">
  16. Ceci est un texte avec Blur...
  17. </div>
  18. </body>
  19. </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="Author" lang="fr" content="Michael Faraday">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="wall.larry@gmail.com">
  8. <meta name="Publisher" content="Wall">
  9. <meta name="Copyright" content="Larry Wall">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <div style="width: 100%; filter:Chroma(color=#cd853f);">
  14. Ceci est un texte avec Chroma...
  15. </div>
  16. </body>
  17. </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 http-equiv="pragma" content="no-cache">
  5. <meta name="Author" lang="fr" content="Jacques-Yves Cousteau">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="stephen@wozniak.org">
  9. <meta name="Copyright" content="Stephen Wozniak">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre DropShadow</h1>
  13. width:100%; padding:5px; font-size:49pt; color:red;
  14. filter:3(offx=4, offy=2)">
  15. Application de DropShadow(),
  16. texte avec DropShadow
  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. The quick brown fox jumped over the lazy dog.
  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="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="stirner.max@infobrol.edu">
  10. <meta name="Publisher" content="Stirner">
  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 FlipH</h1>
  16. <div align="center">
  17. <img
  18. src="filter_4.gif"
  19. style="filter:FlipH()"
  20. width="113"
  21. height="61"
  22. alt="Exemple de filtre 4"
  23. border="0">
  24. </div>
  25. </body>
  26. </html>

Contents Haut

Exemple avec FlipV()

  1. <head>
  2. <title>filter:5()</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="Andrew Stuart Tanenbaum">
  6. <meta name="Reply-to" content="alex.bell@telephone.com">
  7. <meta name="Copyright" content="Alexandre Graham Bell">
  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. <img
  12. style="filter:FlipV();"
  13. src="5Filter.jpg"
  14. align="center"
  15. width="80"
  16. height="99"
  17. alt="FlipV
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:FlipV();">
  20. FlipV
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </html>

Contents Haut

Exemple avec Glow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:6()</title>
  4. <meta name="Reply-to" content="douglas@lenat.net">
  5. <meta name="Copyright" content="Douglas Lenat">
  6. <meta http-equiv="content-language" content="fr">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8.  
  9. body {
  10. margin: 4px;
  11. padding: 17px;
  12. font-family: verdana;
  13. font-size: 10px;
  14. min-width: 700px;
  15. }
  16. </style>
  17.  
  18. </head>
  19.  
  20. <body bgcolor="#FFFFFF" text="#000000">
  21. <div style="width: 100%; filter:Glow(color=#cd853f, strength=11);">
  22. Ceci est un texte avec Glow...
  23. </div>
  24. </body>
  25. </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. <head>
  4. <title>filter:7()</title>
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Ludwig Feuerbach">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="edmond@halley.org">
  9. <meta name="Copyright" content="Edmond Halley">
  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: 4px;
  15. padding: 17px;
  16. font-family: verdana;
  17. font-size: 10px;
  18. min-width: 700px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <div style="width: 100%; filter:Gray();">
  26. Ceci est un texte avec Gray...
  27. </div>
  28. </body>
  29. </html>

Contents Haut

Exemple avec Invert()

  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:8()</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="Bill Gates">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Reply-to" content="raskin.jef@infobrol.biz">
  11. <meta name="Publisher" content="Raskin">
  12. <meta name="Copyright" content="Jef Raskin">
  13. <meta http-equiv="content-language" content="fr">
  14. </head>
  15. <body bgcolor="#FFFFFF" text="#000000">
  16. <h1>Exemple de filtre Invert</h1>
  17. width:100%; padding:17px; font-size:11pt; color:red;
  18. filter:8()">
  19. Application de Invert(),
  20. texte avec Invert
  21. The quick brown fox jumped over the lazy dog.
  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. </div>
  26. </body>
  27. </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="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="taine.hippolyte@gmail.com">
  8. <meta name="Copyright" content="Hippolyte Taine">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <img
  13. style="filter:Mask(color=#8470ff);"
  14. src="9Filter.jpg"
  15. align="center"
  16. width="75"
  17. height="82"
  18. alt="Mask
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:Mask(color=#8470ff);">
  21. Mask
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </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 name="Reply-to" content="georgui@plekhanov.org">
  7. <meta name="Publisher" content="Plekhanov">
  8. <meta name="Copyright" content="Georgui Plekhanov">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <form>
  13. <textarea id="test_textarea"
  14. style="filter:Shadow(direction=45, color=#cd853f);"
  15. rows="16"
  16. cols="14">
  17. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  18. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  19. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  20. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  21. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  22. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  23. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  24. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  25. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  26. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  27. Maecenas porttitor congue massa. Fusce posuere, magna sed
  28. pulvinar ultricies, purus lectus malesuada libero, sit amet
  29. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  30. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  31. tristique senectus et netus et malesuada fames ac turpis
  32. egestas. Proin pharetra nonummy pede.
  33. type="button"
  34. name="btn1"
  35. value="Test"
  36. style="filter:Shadow(direction=45, color=#cd853f);" />
  37. </form>
  38. </body>
  39. </html>

Contents Haut

Exemple avec Wave()

  1. <head>
  2. <title>filter:11()</title>
  3. <meta name="Author" lang="fr" content="Moses Mendelssohn">
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Publisher" content="Sussman">
  6. <meta name="Copyright" content="Gerald Jay Sussman">
  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: 12px;
  13. font-family: verdana;
  14. font-size: 8px;
  15. min-width: 721px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <h1>Exemple de filtre Wave</h1>
  25. <div align="center">
  26. <img
  27. src="filter_11.gif"
  28. style="filter:Wave(light=9, freq=8)"
  29. width="185"
  30. height="50"
  31. alt="Exemple de filtre 11"
  32. border="0">
  33. </div>
  34. </body>
  35. </html>

Contents Haut

Exemple avec XRay()

  1. <head>
  2. <title>filter:12()</title>
  3. <meta name="Description" content="Utilisation des filtres, Demo">
  4. <meta name="Reply-to" content="turing.alanmathison@infobrol.edu">
  5. <meta name="Publisher" content="Turing">
  6. <meta name="Copyright" content="Alan Mathison Turing">
  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. <img
  12. style="filter:XRay();"
  13. src="12Filter.jpg"
  14. align="center"
  15. width="98"
  16. height="90"
  17. alt="XRay
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:XRay();">
  20. XRay
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  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.

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-wave.html/xhtml-rf-input.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