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 tr()

Impossible de trouver des informations à propos du filtre tr().

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. <!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="Larry Wall">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="vonzeppelin.ferdinand@infobrol.int">
  9. <meta name="Publisher" content="von Zeppelin">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <img
  13. style="filter:Alpha(opacity=64, finishopacity=0, style=3);"
  14. src="0Filter.jpg"
  15. align="center"
  16. width="93"
  17. height="83"
  18. alt="Alpha
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:Alpha(opacity=64, finishopacity=0, style=3);">
  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="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="John Locke">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="kay.alan@infobrol.int">
  10. <meta name="Publisher" content="Kay">
  11. <meta name="Copyright" content="Alan Kay">
  12. <meta http-equiv="content-language" content="fr">
  13. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  14.  
  15. body {
  16. margin: 1px;
  17. padding: 18px;
  18. font-family: verdana;
  19. font-size: 9px;
  20. min-width: 673px;
  21. background:#FFFFFF;
  22. color:#000000;
  23. }
  24. </style>
  25.  
  26. </head>
  27.  
  28. <body>
  29. <img
  30. style="filter:Blur(direction=45, strength=1);"
  31. src="1Filter.jpg"
  32. align="center"
  33. width="85"
  34. height="85"
  35. alt="Blur
  36. appliqu&eacute; &agrave; une image">
  37. <span style="width: 100%; filter:Blur(direction=45, strength=1);">
  38. Blur
  39. appliqu&eacute; &agrave; du texte
  40. </span>
  41. </body>
  42. </html>

Contents Haut

Exemple avec Chroma()

  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:2()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="James Prescott Joule">
  8. <meta name="Reply-to" content="nicolas@decondorcet.org">
  9. <meta name="Publisher" content="de Condorcet">
  10. <meta name="Copyright" content="Nicolas de Condorcet">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. <img
  15. style="filter:Chroma(color=#DDBB99);"
  16. src="2Filter.jpg"
  17. align="center"
  18. width="109"
  19. height="112"
  20. alt="Chroma
  21. appliqu&eacute; &agrave; une image">
  22. <span style="width: 100%; filter:Chroma(color=#DDBB99);">
  23. Chroma
  24. appliqu&eacute; &agrave; du texte
  25. </span>
  26. </body>
  27. </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 name="Author" lang="fr" content="Alan Kay">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="doppler.christian@gmail.com">
  8. <meta name="Copyright" content="Christian Doppler">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 1px;
  13. padding: 18px;
  14. font-family: verdana;
  15. font-size: 9px;
  16. min-width: 673px;
  17. background:#FFFFFF;
  18. color:#000000;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body>
  25. <img
  26. style="filter:DropShadow(color=#DDBB99, offx=1, offy=3);"
  27. src="3Filter.jpg"
  28. align="center"
  29. width="111"
  30. height="93"
  31. alt="DropShadow
  32. appliqu&eacute; &agrave; une image">
  33. <span style="width: 100%; filter:DropShadow(color=#DDBB99, offx=1, offy=3);">
  34. DropShadow
  35. appliqu&eacute; &agrave; du texte
  36. </span>
  37. </body>
  38. </html>

Contents Haut

Exemple avec FlipH()

  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: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="Author" lang="fr" content="Scott McNealy">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Reply-to" content="locke.john@infobrol.edu">
  11. <meta name="Copyright" content="John Locke">
  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="109"
  21. height="118"
  22. alt="Exemple de filtre 4"
  23. border="0">
  24. </div>
  25. </body>
  26. </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 name="Author" lang="fr" content="Thomas Jefferson">
  6. <meta name="Reply-to" content="burke.edmund@gmail.com">
  7. <meta name="Copyright" content="Edmund Burke">
  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 FlipV</h1>
  13. <div align="center">
  14. <img
  15. src="filter_5.gif"
  16. style="filter:FlipV()"
  17. width="160"
  18. height="17"
  19. alt="Exemple de filtre 5"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Contents 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. <head>
  4. <title>filter:6()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Reply-to" content="coriolis.gaspard-gustave@infobrol.pro">
  7. <meta name="Copyright" content="Gaspard-Gustave Coriolis">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <img
  12. style="filter:Glow(color=#528b8b);"
  13. src="6Filter.jpg"
  14. align="center"
  15. width="79"
  16. height="101"
  17. alt="Glow
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:Glow(color=#528b8b);">
  20. Glow
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </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="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="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Copyright" content="Arthur Schopenhauer">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. width:100%;
  14. padding:5px;
  15. font-size:46pt;
  16. color:blue;
  17. filter:Gray()">
  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. </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. </td>
  35. </tr>
  36. </table>
  37.  
  38. </body>
  39. </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="Guy Tavernier">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="joule.jamesprescott@infobrol.pro">
  11. <meta name="Publisher" content="Joule">
  12. <meta name="Copyright" content="James Prescott Joule">
  13. <meta http-equiv="content-language" content="fr">
  14. </head>
  15. <body>
  16. <form>
  17. <textarea id="test_textarea"
  18. style="filter:Invert();"
  19. rows="13"
  20. cols="17">
  21. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  22. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  23. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  24. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  25. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  26. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  27. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  28. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  29. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  30. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  31. Maecenas porttitor congue massa. Fusce posuere, magna sed
  32. pulvinar ultricies, purus lectus malesuada libero, sit amet
  33. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  34. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  35. tristique senectus et netus et malesuada fames ac turpis
  36. egestas. Proin pharetra nonummy pede.
  37. type="button"
  38. name="btn1"
  39. value="Test"
  40. style="filter:Invert();" />
  41. </form>
  42. </body>
  43. </html>

Contents 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="wright.wilbur@infobrol.edu">
  5. <meta name="Publisher" content="Wright">
  6. <meta name="Copyright" content="Wilbur Wright">
  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: 5px;
  12. padding: 4px;
  13. font-family: verdana;
  14. font-size: 13px;
  15. min-width: 753px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. <h1>Exemple de filtre Mask</h1>
  23. <div align="center">
  24. <img
  25. src="filter_9.gif"
  26. style="filter:Mask(color=#528b8b)"
  27. width="14"
  28. height="92"
  29. alt="Exemple de filtre 9"
  30. border="0">
  31. </div>
  32. </body>
  33. </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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Reply-to" content="jacques@pitrat.info">
  8. <meta name="Publisher" content="Pitrat">
  9. <meta name="Copyright" content="Jacques Pitrat">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre Shadow</h1>
  13. width:100%; padding:19px; font-size:44pt; color:red;
  14. filter:10(color=#528b8b)">
  15. Application de Shadow(),
  16. texte avec Shadow
  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 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="zimmerman.phil@gmail.com">
  7. <meta name="Publisher" content="Zimmerman">
  8. <meta name="Copyright" content="Phil Zimmerman">
  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. width:100%; padding:19px; font-size:38pt; color:red;
  15. filter:11(freq=12, light=63, phase=98, strength=2)">
  16. Application de Wave(),
  17. texte avec Wave
  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. The quick brown fox jumped over the lazy dog.
  22. </div>
  23. </body>
  24. </html>

Contents Haut

Exemple avec XRay()

  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:12()</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="Andrew Morton">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Publisher" content="Torricelli">
  11. <meta name="Copyright" content="Evangelista Torricelli">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body>
  15. <h1>Exemple de filtre XRay</h1>
  16. <div align="center">
  17. <img
  18. src="filter_12.gif"
  19. style="filter:XRay()"
  20. width="14"
  21. height="114"
  22. alt="Exemple de filtre 12"
  23. border="0">
  24. </div>
  25. </body>
  26. </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.

Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph