Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.

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

Inhoudsopgave 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="Reply-to" content="tesla.nikola@infobrol.int">
  6. <meta name="Publisher" content="Tesla">
  7. <meta name="Copyright" content="Nikola Tesla">
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <img
  11. style="filter:Alpha(opacity=75, finishopacity=0, style=2);"
  12. src="0Filter.jpg"
  13. align="center"
  14. width="101"
  15. height="90"
  16. alt="Alpha
  17. appliqu&eacute; &agrave; une image">
  18. <span style="width: 100%; filter:Alpha(opacity=75, finishopacity=0, style=2);">
  19. Alpha
  20. appliqu&eacute; &agrave; du texte
  21. </span>
  22. </body>
  23. </html>

Inhoudsopgave 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="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="meslier.jean@infobrol.pro">
  9. <meta name="Publisher" content="Meslier">
  10. <meta name="Copyright" content="Jean Meslier">
  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: 5px;
  16. padding: 17px;
  17. font-family: verdana;
  18. font-size: 17px;
  19. min-width: 750px;
  20. background:#FFFFFF;
  21. color:#000000;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28. <h1>Exemple de filtre Blur</h1>
  29. <div align="center">
  30. <img
  31. src="filter_1.gif"
  32. style="filter:Blur(direction=90, strength=19)"
  33. width="17"
  34. height="148"
  35. alt="Exemple de filtre 1"
  36. border="0">
  37. </div>
  38. </body>
  39. </html>

Inhoudsopgave 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:2()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Reply-to" content="jamesalfred.vanallen@gmail.com">
  8. <meta name="Copyright" content="Van Allen James Alfred">
  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: 1px;
  14. padding: 13px;
  15. font-family: verdana;
  16. font-size: 19px;
  17. min-width: 746px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. width:100%;
  25. padding:14px;
  26. font-size:46pt;
  27. color:blue;
  28. filter:Chroma(color=#cd853f)">
  29. Exemples d'utilisation de filtres</p>
  30. </div>
  31.  
  32. <br />
  33. <br />
  34.  
  35. <tr valign="top">
  36. <td width="22%" height="218">
  37. The quick brown fox jumped over the lazy dog.
  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. 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. </td>
  53. </tr>
  54. </table>
  55.  
  56. </body>
  57. </html>

Inhoudsopgave 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="Guillaume de Champeaux">
  6. <meta name="Reply-to" content="bonnet.charles@infobrol.com">
  7. </head>
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. <form>
  10. <textarea id="test_textarea"
  11. style="filter:DropShadow(color=#cd853f, offx=4, offy=4);"
  12. rows="11"
  13. cols="8">
  14. The quick brown fox jumped over the lazy dog.
  15. type="button"
  16. name="btn1"
  17. value="Test"
  18. style="filter:DropShadow(color=#cd853f, offx=4, offy=4);" />
  19. </form>
  20. </body>
  21. </html>

Inhoudsopgave 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 name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="wozniak.stephen@gmail.com">
  9. <meta name="Publisher" content="Wozniak">
  10. <meta name="Copyright" content="Stephen Wozniak">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. <h1>Exemple de filtre FlipH</h1>
  15. <div align="center">
  16. <img
  17. src="filter_4.gif"
  18. style="filter:FlipH()"
  19. width="149"
  20. height="126"
  21. alt="Exemple de filtre 4"
  22. border="0">
  23. </div>
  24. </body>
  25. </html>

Inhoudsopgave Haut

Exemple avec FlipV()

  1. <head>
  2. <title>filter:5()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="John William Mauchly">
  5. <meta name="Publisher" content="Gates">
  6. <meta name="Copyright" content="Bill Gates">
  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:FlipV();"
  13. src="5Filter.jpg"
  14. align="center"
  15. width="78"
  16. height="75"
  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>

Inhoudsopgave 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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="friedrich@heinrichjacobi.net">
  10. <meta name="Publisher" content="Heinrich Jacobi">
  11. <meta name="Copyright" content="Friedrich Heinrich Jacobi">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body>
  15. <h1>Exemple de filtre Glow</h1>
  16. width:100%; padding:17px; font-size:24pt; color:red;
  17. filter:6(color=#DDBB99)">
  18. Application de Glow(),
  19. texte avec Glow
  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. The quick brown fox jumped over the lazy dog.
  24. </div>
  25. </body>
  26. </html>

Inhoudsopgave 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 name="Reply-to" content="strachey.christopher@infobrol.pro">
  6. <meta name="Publisher" content="Strachey">
  7. <meta name="Copyright" content="Christopher Strachey">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 5px;
  12. padding: 17px;
  13. font-family: verdana;
  14. font-size: 17px;
  15. min-width: 750px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <h1>Exemple de filtre Gray</h1>
  25. <div align="center">
  26. <img
  27. src="filter_7.gif"
  28. style="filter:Gray()"
  29. width="120"
  30. height="138"
  31. alt="Exemple de filtre 7"
  32. border="0">
  33. </div>
  34. </body>
  35. </html>

Inhoudsopgave 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 name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="marx.karl@infobrol.com">
  9. <meta name="Publisher" content="Marx">
  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: 19px;
  18. min-width: 746px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <form>
  26. <textarea id="test_textarea"
  27. style="filter:Invert();"
  28. rows="9"
  29. cols="6">
  30. The quick brown fox jumped over the lazy dog.
  31. type="button"
  32. name="btn1"
  33. value="Test"
  34. style="filter:Invert();" />
  35. </form>
  36. </body>
  37. </html>

Inhoudsopgave Haut

Exemple avec Mask()

  1. <head>
  2. <title>filter:9()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Reply-to" content="venkat@subramaniam.info">
  5. <meta name="Copyright" content="Venkat Subramaniam">
  6. <meta http-equiv="content-language" content="fr">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. width:100%;
  10. padding:14px;
  11. font-size:17pt;
  12. color:blue;
  13. filter:Mask(color=#cd853f)">
  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. The quick brown fox jumped over the lazy dog.
  32. The quick brown fox jumped over the lazy dog.
  33. </td>
  34. </tr>
  35. </table>
  36.  
  37. </body>
  38. </html>

Inhoudsopgave Haut

Exemple avec Shadow()

  1. <head>
  2. <title>filter:10()</title>
  3. <meta name="Author" lang="fr" content="Jules Lequier">
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Reply-to" content="joule.jamesprescott@gmail.com">
  6. <meta name="Copyright" content="James Prescott Joule">
  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. <h1>Exemple de filtre Shadow</h1>
  12. width:100%; padding:20px; font-size:12pt; color:red;
  13. filter:10(color=#DDBB99)">
  14. Application de Shadow(),
  15. texte avec Shadow
  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>

Inhoudsopgave Haut

Exemple avec Wave()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:11()</title>
  4. <meta name="Author" lang="fr" content="Charles Babbage">
  5. <meta name="Reply-to" content="dahl.ole-johan@gmail.com">
  6. <meta name="Publisher" content="Dahl">
  7. <meta name="Copyright" content="Ole-Johan Dahl">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 5px;
  13. padding: 17px;
  14. font-family: verdana;
  15. font-size: 17px;
  16. min-width: 750px;
  17. background:#FFFFFF;
  18. color:#000000;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body>
  25. <h1>Exemple de filtre Wave</h1>
  26. width:100%; padding:15px; font-size:43pt; color:red;
  27. filter:11(light=98, freq=37)">
  28. Application de Wave(),
  29. texte avec Wave
  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. The quick brown fox jumped over the lazy dog.
  34. </div>
  35. </body>
  36. </html>

Inhoudsopgave Haut

Exemple avec XRay()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:12()</title>
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Author" lang="fr" content="Claude Galien">
  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="wozniak.stephen@gmail.com">
  9. <meta name="Copyright" content="Stephen Wozniak">
  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: 5px;
  15. padding: 17px;
  16. font-family: verdana;
  17. font-size: 17px;
  18. min-width: 750px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <h1>Exemple de filtre XRay</h1>
  28. <div align="center">
  29. <img
  30. src="filter_12.gif"
  31. style="filter:XRay()"
  32. width="178"
  33. height="55"
  34. alt="Exemple de filtre 12"
  35. border="0">
  36. </div>
  37. </body>
  38. </html>

Inhoudsopgave 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.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 27/02/2003 gemaakt, de laatste keer de 26/10/2018 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/html-filtres-rf-all.html/xhtml-rf-div.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Filtres : selfhtml (version 13/02/10)

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut