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. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:0()</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="Giovanni Cristofano Amaduzzi">
  7. <meta name="Reply-to" content="nietzsche.friedrich@infobrol.int">
  8. <meta name="Publisher" content="Nietzsche">
  9. <meta name="Copyright" content="Friedrich Nietzsche">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <img
  14. style="filter:Alpha(opacity=41, finishopacity=0, style=2);"
  15. src="0Filter.jpg"
  16. align="center"
  17. width="91"
  18. height="105"
  19. alt="Alpha
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Alpha(opacity=41, finishopacity=0, style=2);">
  22. Alpha
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </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="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="doppler.christian@infobrol.biz">
  8. <meta name="Publisher" content="Doppler">
  9. <meta name="Copyright" content="Christian Doppler">
  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 Blur</h1>
  15. <div align="center">
  16. <img
  17. src="filter_1.gif"
  18. style="filter:Blur(direction=45, strength=7)"
  19. width="113"
  20. height="153"
  21. alt="Exemple de filtre 1"
  22. border="0">
  23. </div>
  24. </body>
  25. </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="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="morton.andrew@infobrol.int">
  9. <meta name="Copyright" content="Andrew Morton">
  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. <div style="width: 100%; filter:Chroma(color=#fafad2);">
  15. Ceci est un texte avec Chroma...
  16. </div>
  17. </body>
  18. </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 http-equiv="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Antoine Henri Becquerel">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="feigenbaum.edward@infobrol.edu">
  9. <meta name="Publisher" content="Feigenbaum">
  10. <meta name="Copyright" content="Edward Feigenbaum">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. <h1>Exemple de filtre DropShadow</h1>
  15. width:100%; padding:17px; font-size:43pt; color:red;
  16. filter:3(color=#fafad2, offx=1, offy=2)">
  17. Application de DropShadow(),
  18. texte avec DropShadow
  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 FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:4()</title>
  4. <meta name="Reply-to" content="diesel.rudolf@infobrol.tk">
  5. <meta http-equiv="content-language" content="fr">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7. </head>
  8. <body>
  9. <img
  10. style="filter:FlipH();"
  11. src="4Filter.jpg"
  12. align="center"
  13. width="80"
  14. height="93"
  15. alt="FlipH
  16. appliqu&eacute; &agrave; une image">
  17. <span style="width: 100%; filter:FlipH();">
  18. FlipH
  19. appliqu&eacute; &agrave; du texte
  20. </span>
  21. </body>
  22. </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 http-equiv="pragma" content="no-cache">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="subramaniam.venkat@infobrol.edu">
  8. <meta name="Publisher" content="Subramaniam">
  9. <meta name="Copyright" content="Venkat Subramaniam">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 1px;
  14. padding: 0px;
  15. font-family: verdana;
  16. font-size: 8px;
  17. min-width: 615px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <h1>Exemple de filtre FlipV</h1>
  25. <div align="center">
  26. <img
  27. src="filter_5.gif"
  28. style="filter:FlipV()"
  29. width="198"
  30. height="181"
  31. alt="Exemple de filtre 5"
  32. border="0">
  33. </div>
  34. </body>
  35. </html>

Contents Haut

Exemple avec Glow()

  1. <head>
  2. <title>filter:6()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="Ernst Bloch">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="diesel.rudolf@infobrol.tk">
  7. <meta name="Publisher" content="Diesel">
  8. <meta name="Copyright" content="Rudolf Diesel">
  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: 12px;
  17. min-width: 635px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <img
  27. style="filter:Glow(color=#e0eee0);"
  28. src="6Filter.jpg"
  29. align="center"
  30. width="86"
  31. height="98"
  32. alt="Glow
  33. appliqu&eacute; &agrave; une image">
  34. <span style="width: 100%; filter:Glow(color=#e0eee0);">
  35. Glow
  36. appliqu&eacute; &agrave; du texte
  37. </span>
  38. </body>
  39. </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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Reply-to" content="hubble.edwin@infobrol.pro">
  9. <meta name="Publisher" content="Hubble">
  10. <meta name="Copyright" content="Edwin Hubble">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre Gray</h1>
  14. <div align="center">
  15. <img
  16. src="filter_7.gif"
  17. style="filter:Gray()"
  18. width="156"
  19. height="31"
  20. alt="Exemple de filtre 7"
  21. border="0">
  22. </div>
  23. </body>
  24. </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="bloch.ernst@infobrol.int">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. width:100%;
  11. padding:16px;
  12. font-size:20pt;
  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. The quick brown fox jumped over the lazy dog.
  36. </td>
  37. </tr>
  38. </table>
  39.  
  40. </body>
  41. </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. <head>
  4. <title>filter:9()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  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="john@vonneumann.net">
  9. <meta name="Copyright" content="John von Neumann">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body>
  13. width:100%;
  14. padding:9px;
  15. font-size:36pt;
  16. color:blue;
  17. filter:Mask(color=#e0eee0)">
  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. </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. The quick brown fox jumped over the lazy dog.
  37. </td>
  38. </tr>
  39. </table>
  40.  
  41. </body>
  42. </html>

Contents Haut

Exemple avec Shadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:10()</title>
  4. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  5. <meta name="Reply-to" content="mcnealy.scott@infobrol.edu">
  6. <meta name="Publisher" content="McNealy">
  7. <meta name="Copyright" content="Scott McNealy">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 1px;
  12. padding: 0px;
  13. font-family: verdana;
  14. font-size: 8px;
  15. min-width: 615px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. width:100%;
  23. padding:17px;
  24. font-size:12pt;
  25. color:blue;
  26. filter:Shadow(direction=315, color=#fafad2)">
  27. Exemples d'utilisation de filtres</p>
  28. </div>
  29.  
  30. <br />
  31. <br />
  32.  
  33. <tr valign="top">
  34. <td width="22%" height="218">
  35. The quick brown fox jumped over the lazy dog.
  36. The quick brown fox jumped over the lazy dog.
  37. </td>
  38. <td width="21%">
  39. &nbsp;
  40. </td>
  41. <td width="57%">
  42. The quick brown fox jumped over the lazy dog.
  43. The quick brown fox jumped over the lazy dog.
  44. The quick brown fox jumped over the lazy dog.
  45. </td>
  46. </tr>
  47. </table>
  48.  
  49. </body>
  50. </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. <head>
  4. <title>filter:11()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="bonnet.charles@infobrol.com">
  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 Wave</h1>
  14. <div align="center">
  15. <img
  16. src="filter_11.gif"
  17. style="filter:Wave(freq=10, light=42, phase=52, strength=10)"
  18. width="132"
  19. height="171"
  20. alt="Exemple de filtre 11"
  21. border="0">
  22. </div>
  23. </body>
  24. </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="Author" lang="fr" content="Christian Doppler">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="planck.max@infobrol.biz">
  7. <meta name="Publisher" content="Planck">
  8. <meta name="Copyright" content="Max Planck">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <h1>Exemple de filtre XRay</h1>
  13. <div align="center">
  14. <img
  15. src="filter_12.gif"
  16. style="filter:XRay()"
  17. width="64"
  18. height="191"
  19. alt="Exemple de filtre 12"
  20. border="0">
  21. </div>
  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-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