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. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:0()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Author" lang="fr" content="John von Neumann">
  7. <meta name="Reply-to" content="nietzsche.friedrich@infobrol.com">
  8. <meta name="Copyright" content="Friedrich Nietzsche">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  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=44, finishopacity=0, style=2)"
  16. width="99"
  17. height="143"
  18. alt="Exemple de filtre 0"
  19. border="0">
  20. </div>
  21. </body>
  22. </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 name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="jeremy@bentham.info">
  8. <meta name="Publisher" content="Bentham">
  9. <meta name="Copyright" content="Jeremy Bentham">
  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: 16px;
  16. font-family: verdana;
  17. font-size: 17px;
  18. min-width: 619px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <h1>Exemple de filtre Blur</h1>
  26. <div align="center">
  27. <img
  28. src="filter_1.gif"
  29. style="filter:Blur(direction=0, strength=17)"
  30. width="159"
  31. height="141"
  32. alt="Exemple de filtre 1"
  33. border="0">
  34. </div>
  35. </body>
  36. </html>

Inhoudsopgave Haut

Exemple avec Chroma()

  1. <head>
  2. <title>filter:2()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="Ada Lovelace">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="moses@mendelssohn.info">
  7. <meta name="Publisher" content="Mendelssohn">
  8. <meta name="Copyright" content="Moses Mendelssohn">
  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:Chroma(color=#fafad2);"
  15. rows="10"
  16. cols="4">
  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. type="button"
  21. name="btn1"
  22. value="Test"
  23. style="filter:Chroma(color=#fafad2);" />
  24. </form>
  25. </body>
  26. </html>

Inhoudsopgave 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 name="Author" lang="fr" content="John Backus">
  5. <meta name="Reply-to" content="hersch.jeanne@infobrol.edu">
  6. <meta name="Copyright" content="Jeanne Hersch">
  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: 3px;
  12. padding: 20px;
  13. font-family: verdana;
  14. font-size: 11px;
  15. min-width: 600px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <img
  25. style="filter:DropShadow(color=#e0eee0);"
  26. src="3Filter.jpg"
  27. align="center"
  28. width="85"
  29. height="89"
  30. alt="DropShadow
  31. appliqu&eacute; &agrave; une image">
  32. <span style="width: 100%; filter:DropShadow(color=#e0eee0);">
  33. DropShadow
  34. appliqu&eacute; &agrave; du texte
  35. </span>
  36. </body>
  37. </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="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="atkinson.bill@gmail.com">
  9. <meta name="Publisher" content="Atkinson">
  10. <meta name="Copyright" content="Bill Atkinson">
  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: 17px;
  18. min-width: 619px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <h1>Exemple de filtre FlipH</h1>
  26. <div align="center">
  27. <img
  28. src="filter_4.gif"
  29. style="filter:FlipH()"
  30. width="29"
  31. height="176"
  32. alt="Exemple de filtre 4"
  33. border="0">
  34. </div>
  35. </body>
  36. </html>

Inhoudsopgave 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="Reply-to" content="watt.james@gmail.com">
  6. <meta name="Publisher" content="Watt">
  7. <meta name="Copyright" content="James Watt">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. </head>
  10. <body>
  11. <h1>Exemple de filtre FlipV</h1>
  12. <div align="center">
  13. <img
  14. src="filter_5.gif"
  15. style="filter:FlipV()"
  16. width="112"
  17. height="152"
  18. alt="Exemple de filtre 5"
  19. border="0">
  20. </div>
  21. </body>
  22. </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="Author" lang="fr" content="Jeanne Hersch">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="fechner.gustav@infobrol.edu">
  11. <meta name="Publisher" content="Fechner">
  12. <meta name="Copyright" content="Gustav Fechner">
  13. <meta http-equiv="content-language" content="fr">
  14. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  15. <body bgcolor="#FFFFFF" text="#000000">
  16. <img
  17. style="filter:Glow(color=#fafad2, strength=3);"
  18. src="6Filter.jpg"
  19. align="center"
  20. width="119"
  21. height="87"
  22. alt="Glow
  23. appliqu&eacute; &agrave; une image">
  24. <span style="width: 100%; filter:Glow(color=#fafad2, strength=3);">
  25. Glow
  26. appliqu&eacute; &agrave; du texte
  27. </span>
  28. </body>
  29. </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 http-equiv="pragma" content="no-cache">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="mill.james@infobrol.tk">
  7. <meta name="Copyright" content="James Mill">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body>
  11. width:100%;
  12. padding:13px;
  13. font-size:13pt;
  14. color:blue;
  15. filter:Gray()">
  16. Exemples d'utilisation de filtres</p>
  17. </div>
  18.  
  19. <br />
  20. <br />
  21.  
  22. <tr valign="top">
  23. <td width="22%" height="218">
  24. The quick brown fox jumped over the lazy dog.
  25. The quick brown fox jumped over the lazy dog.
  26. The quick brown fox jumped over the lazy dog.
  27. </td>
  28. <td width="21%">
  29. &nbsp;
  30. </td>
  31. <td width="57%">
  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. The quick brown fox jumped over the lazy dog.
  37. </td>
  38. </tr>
  39. </table>
  40.  
  41. </body>
  42. </html>

Inhoudsopgave 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="philippe@kahn.net">
  5. <meta name="Publisher" content="Kahn">
  6. <meta name="Copyright" content="Philippe Kahn">
  7. </head>
  8. <body>
  9. <div style="width: 100%; filter:Invert();">
  10. Ceci est un texte avec Invert...
  11. </div>
  12. </body>
  13. </html>

Inhoudsopgave 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="Author" lang="fr" content="Ferdinand von Zeppelin">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="charles@dunoyer.net">
  9. <meta name="Copyright" content="Charles Dunoyer">
  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: 17px;
  17. min-width: 619px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <img
  25. style="filter:Mask(color=#fafad2);"
  26. src="9Filter.jpg"
  27. align="center"
  28. width="94"
  29. height="90"
  30. alt="Mask
  31. appliqu&eacute; &agrave; une image">
  32. <span style="width: 100%; filter:Mask(color=#fafad2);">
  33. Mask
  34. appliqu&eacute; &agrave; du texte
  35. </span>
  36. </body>
  37. </html>

Inhoudsopgave 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 http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="Dennis Ritchie">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Copyright" content="Bjarne Stroustrup">
  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: 16px;
  16. font-family: verdana;
  17. font-size: 17px;
  18. min-width: 619px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <img
  26. style="filter:Shadow(color=#e0eee0);"
  27. src="10Filter.jpg"
  28. align="center"
  29. width="99"
  30. height="114"
  31. alt="Shadow
  32. appliqu&eacute; &agrave; une image">
  33. <span style="width: 100%; filter:Shadow(color=#e0eee0);">
  34. Shadow
  35. appliqu&eacute; &agrave; du texte
  36. </span>
  37. </body>
  38. </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="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Reply-to" content="plekhanov.georgui@infobrol.biz">
  7. <meta name="Copyright" content="Georgui Plekhanov">
  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: 3px;
  13. padding: 20px;
  14. font-family: verdana;
  15. font-size: 11px;
  16. min-width: 600px;
  17. background:#FFFFFF;
  18. color:#000000;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body>
  25. width:100%;
  26. padding:9px;
  27. font-size:15pt;
  28. color:blue;
  29. filter:Wave(freq=40, light=38, phase=12, strength=8)">
  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. The quick brown fox jumped over the lazy dog.
  40. The quick brown fox jumped over the lazy dog.
  41. </td>
  42. <td width="21%">
  43. &nbsp;
  44. </td>
  45. <td width="57%">
  46. The quick brown fox jumped over the lazy dog.
  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. </td>
  51. </tr>
  52. </table>
  53.  
  54. </body>
  55. </html>

Inhoudsopgave 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="Publisher" content="Bloch">
  5. <meta http-equiv="content-language" content="fr">
  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="80"
  13. height="107"
  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>

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-blur.html/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