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.

Tous les filtres HTML avec exemples

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. <?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 name="Reply-to" content="ferdinand@vonzeppelin.org">
  6. <meta name="Publisher" content="von Zeppelin">
  7. <meta name="Copyright" content="Ferdinand von Zeppelin">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre Alpha</h1>
  13. <div align="center">
  14. <img
  15. src="filter_0.gif"
  16. style="filter:Alpha(opacity=92, finishopacity=0, style=2)"
  17. width="133"
  18. height="39"
  19. alt="Exemple de filtre 0"
  20. border="0">
  21. </div>
  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 http-equiv="pragma" content="no-cache">
  8. <meta name="Author" lang="fr" content="Alexander Fleming">
  9. <meta name="Reply-to" content="charles@bonnet.info">
  10. <meta name="Copyright" content="Charles Bonnet">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body>
  14. <form>
  15. <textarea id="test_textarea"
  16. style="filter:Blur(direction=270, strength=0);"
  17. rows="15"
  18. cols="6">
  19. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  20. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  21. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  22. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  23. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  24. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  25. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  26. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  27. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  28. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  29. Maecenas porttitor congue massa. Fusce posuere, magna sed
  30. pulvinar ultricies, purus lectus malesuada libero, sit amet
  31. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  32. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  33. tristique senectus et netus et malesuada fames ac turpis
  34. egestas. Proin pharetra nonummy pede.
  35. type="button"
  36. name="btn1"
  37. value="Test"
  38. style="filter:Blur(direction=270, strength=0);" />
  39. </form>
  40. </body>
  41. </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="pragma" content="no-cache">
  7. <meta name="Copyright" content="Nikola Tesla">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 5px;
  12. padding: 7px;
  13. font-family: verdana;
  14. font-size: 11px;
  15. min-width: 763px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. <form>
  23. <textarea id="test_textarea"
  24. style="filter:Chroma(color=#cd853f);"
  25. rows="10"
  26. cols="18">
  27. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  28. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  29. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  30. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  31. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  32. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  33. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  34. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  35. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  36. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  37. Maecenas porttitor congue massa. Fusce posuere, magna sed
  38. pulvinar ultricies, purus lectus malesuada libero, sit amet
  39. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  40. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  41. tristique senectus et netus et malesuada fames ac turpis
  42. egestas. Proin pharetra nonummy pede.
  43. type="button"
  44. name="btn1"
  45. value="Test"
  46. style="filter:Chroma(color=#cd853f);" />
  47. </form>
  48. </body>
  49. </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 http-equiv="pragma" content="no-cache">
  6. <meta name="Publisher" content="Stallman">
  7. </head>
  8. <body>
  9. <div style="width: 100%; filter:DropShadow(color=#8470ff);">
  10. Ceci est un texte avec DropShadow...
  11. </div>
  12. </body>
  13. </html>

Inhoudsopgave Haut

Exemple avec FlipH()

  1. <head>
  2. <title>filter:4()</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="Erol Gelenbe">
  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="bacon.roger@gmail.com">
  9. <meta name="Copyright" content="Roger Bacon">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body>
  13. <img
  14. style="filter:FlipH();"
  15. src="4Filter.jpg"
  16. align="center"
  17. width="120"
  18. height="103"
  19. alt="FlipH
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:FlipH();">
  22. FlipH
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Inhoudsopgave Haut

Exemple avec FlipV()

  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:5()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Reply-to" content="john@locke.info">
  8. <meta name="Publisher" content="Locke">
  9. <meta name="Copyright" content="John Locke">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 4px;
  14. padding: 13px;
  15. font-family: verdana;
  16. font-size: 17px;
  17. min-width: 773px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <img
  27. style="filter:FlipV();"
  28. src="5Filter.jpg"
  29. align="center"
  30. width="108"
  31. height="78"
  32. alt="FlipV
  33. appliqu&eacute; &agrave; une image">
  34. <span style="width: 100%; filter:FlipV();">
  35. FlipV
  36. appliqu&eacute; &agrave; du texte
  37. </span>
  38. </body>
  39. </html>

Inhoudsopgave 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="carldavid.anderson@infobrol.com">
  8. <meta name="Copyright" content="Anderson Carl David">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre Glow</h1>
  13. width:100%; padding:6px; font-size:10pt; color:red;
  14. filter:6(color=#8470ff)">
  15. Application de Glow(),
  16. texte avec Glow
  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>

Inhoudsopgave Haut

Exemple avec Gray()

  1. <head>
  2. <title>filter:7()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Author" lang="fr" content="James Watt">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Reply-to" content="liskov.barbara@infobrol.pro">
  7. <meta name="Copyright" content="Barbara Liskov">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <form>
  13. <textarea id="test_textarea"
  14. style="filter:Gray();"
  15. rows="12"
  16. cols="9">
  17. The quick brown fox jumped over the lazy dog.
  18. type="button"
  19. name="btn1"
  20. value="Test"
  21. style="filter:Gray();" />
  22. </form>
  23. </body>
  24. </html>

Inhoudsopgave Haut

Exemple avec Invert()

  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: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="claude@galien.info">
  9. <meta name="Copyright" content="Claude Galien">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. </head>
  12. <body>
  13. width:100%;
  14. padding:12px;
  15. font-size:29pt;
  16. color:blue;
  17. filter:Invert()">
  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. The quick brown fox jumped over the lazy dog.
  38. The quick brown fox jumped over the lazy dog.
  39. </td>
  40. </tr>
  41. </table>
  42.  
  43. </body>
  44. </html>

Inhoudsopgave Haut

Exemple avec Mask()

  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:9()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Publisher" content="Ritchie">
  8. <meta name="Copyright" content="Dennis Ritchie">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <div style="width: 100%; filter:Mask(color=#cd853f);">
  13. Ceci est un texte avec Mask...
  14. </div>
  15. </body>
  16. </html>

Inhoudsopgave 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="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 http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 5px;
  14. padding: 7px;
  15. font-family: verdana;
  16. font-size: 11px;
  17. min-width: 763px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <img
  25. style="filter:Shadow(direction=225, color=#cd853f);"
  26. src="10Filter.jpg"
  27. align="center"
  28. width="81"
  29. height="109"
  30. alt="Shadow
  31. appliqu&eacute; &agrave; une image">
  32. <span style="width: 100%; filter:Shadow(direction=225, color=#cd853f);">
  33. Shadow
  34. appliqu&eacute; &agrave; du texte
  35. </span>
  36. </body>
  37. </html>

Inhoudsopgave 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="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="John Millar">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8. </head>
  9. <body>
  10. <h1>Exemple de filtre Wave</h1>
  11. width:100%; padding:11px; font-size:20pt; color:red;
  12. filter:11(freq=48, light=58, phase=74, strength=8)">
  13. Application de Wave(),
  14. texte avec Wave
  15. The quick brown fox jumped over the lazy dog.
  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. </div>
  20. </body>
  21. </html>

Inhoudsopgave 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. <head>
  4. <title>filter:12()</title>
  5. <meta name="Reply-to" content="vonneumann.john@infobrol.com">
  6. <meta name="Copyright" content="John von Neumann">
  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: 13px;
  13. font-family: verdana;
  14. font-size: 17px;
  15. min-width: 773px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <img
  25. style="filter:XRay();"
  26. src="12Filter.jpg"
  27. align="center"
  28. width="82"
  29. height="86"
  30. alt="XRay
  31. appliqu&eacute; &agrave; une image">
  32. <span style="width: 100%; filter:XRay();">
  33. XRay
  34. appliqu&eacute; &agrave; du texte
  35. </span>
  36. </body>
  37. </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

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