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="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Wilhelm Rontgen">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="bohr.niels@infobrol.biz">
  9. <meta name="Copyright" content="Niels Bohr">
  10. </head>
  11. <body>
  12. <img
  13. style="filter:Alpha(opacity=53, finishopacity=0, style=1);"
  14. src="0Filter.jpg"
  15. align="center"
  16. width="111"
  17. height="115"
  18. alt="Alpha
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:Alpha(opacity=53, finishopacity=0, style=1);">
  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="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Van Allen James Alfred">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="nicolas@decondorcet.info">
  10. <meta name="Copyright" content="Nicolas de Condorcet">
  11. </head>
  12. <body>
  13. <form>
  14. <textarea id="test_textarea"
  15. style="filter:Blur(strength=2);"
  16. rows="17"
  17. cols="19">
  18. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  19. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  20. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  21. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  22. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  23. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  24. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  25. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  26. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  27. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  28. Maecenas porttitor congue massa. Fusce posuere, magna sed
  29. pulvinar ultricies, purus lectus malesuada libero, sit amet
  30. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  31. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  32. tristique senectus et netus et malesuada fames ac turpis
  33. egestas. Proin pharetra nonummy pede.
  34. type="button"
  35. name="btn1"
  36. value="Test"
  37. style="filter:Blur(strength=2);" />
  38. </form>
  39. </body>
  40. </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 name="Author" lang="fr" content="Gustav Ludwig Hertz">
  7. <meta name="Reply-to" content="francis@bacon.info">
  8. <meta name="Publisher" content="Bacon">
  9. <meta name="Copyright" content="Francis Bacon">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <div style="width: 100%; filter:Chroma(color=#DDBB99);">
  14. Ceci est un texte avec Chroma...
  15. </div>
  16. </body>
  17. </html>

Contents Haut

Exemple avec DropShadow()

  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:3()</title>
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Publisher" content="Hertz">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <h1>Exemple de filtre DropShadow</h1>
  13. <div align="center">
  14. <img
  15. src="filter_3.gif"
  16. style="filter:DropShadow(color=#DDBB99, offx=2, offy=2)"
  17. width="14"
  18. height="169"
  19. alt="Exemple de filtre 3"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Contents 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 name="Author" lang="fr" content="Gaspard-Gustave Coriolis">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="franklin.benjamin@infobrol.com">
  7. <meta name="Publisher" content="Franklin">
  8. <meta name="Copyright" content="Benjamin Franklin">
  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: 3px;
  14. padding: 15px;
  15. font-family: verdana;
  16. font-size: 19px;
  17. min-width: 683px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <img
  25. style="filter:FlipH();"
  26. src="4Filter.jpg"
  27. align="center"
  28. width="94"
  29. height="75"
  30. alt="FlipH
  31. appliqu&eacute; &agrave; une image">
  32. <span style="width: 100%; filter:FlipH();">
  33. FlipH
  34. appliqu&eacute; &agrave; du texte
  35. </span>
  36. </body>
  37. </html>

Contents 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 name="Reply-to" content="joule.jamesprescott@infobrol.tk">
  7. <meta name="Publisher" content="Joule">
  8. <meta name="Copyright" content="James Prescott Joule">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <h1>Exemple de filtre FlipV</h1>
  12. <div align="center">
  13. <img
  14. src="filter_5.gif"
  15. style="filter:FlipV()"
  16. width="15"
  17. height="27"
  18. alt="Exemple de filtre 5"
  19. border="0">
  20. </div>
  21. </body>
  22. </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 name="Reply-to" content="kahn.philippe@gmail.com">
  6. <meta name="Copyright" content="Philippe Kahn">
  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: 2px;
  12. padding: 1px;
  13. font-family: verdana;
  14. font-size: 18px;
  15. min-width: 761px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <h1>Exemple de filtre Glow</h1>
  25. <div align="center">
  26. <img
  27. src="filter_6.gif"
  28. style="filter:Glow(strength=3, color=#cd853f)"
  29. width="73"
  30. height="124"
  31. alt="Exemple de filtre 6"
  32. border="0">
  33. </div>
  34. </body>
  35. </html>

Contents Haut

Exemple avec Gray()

  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:7()</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="zeiss.carl@infobrol.com">
  10. <meta name="Copyright" content="Carl Zeiss">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body>
  14. <h1>Exemple de filtre Gray</h1>
  15. width:100%; padding:16px; font-size:40pt; color:red;
  16. filter:7()">
  17. Application de Gray(),
  18. texte avec Gray
  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 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="Donald Knuth">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="lovelace.ada@gmail.com">
  11. <meta name="Copyright" content="Ada Lovelace">
  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: 2px;
  17. padding: 1px;
  18. font-family: verdana;
  19. font-size: 18px;
  20. min-width: 761px;
  21. background:#FFFFFF;
  22. color:#000000;
  23. }
  24. </style>
  25.  
  26. </head>
  27.  
  28. <body>
  29. <h1>Exemple de filtre Invert</h1>
  30. <div align="center">
  31. <img
  32. src="filter_8.gif"
  33. style="filter:Invert()"
  34. width="195"
  35. height="148"
  36. alt="Exemple de filtre 8"
  37. border="0">
  38. </div>
  39. </body>
  40. </html>

Contents 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="Author" lang="fr" content="Emmanuel Kant">
  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="godwin.william@gmail.com">
  11. <meta name="Publisher" content="Godwin">
  12. <meta name="Copyright" content="William Godwin">
  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. width:100%;
  17. padding:16px;
  18. font-size:39pt;
  19. color:blue;
  20. filter:Mask(color=#DDBB99)">
  21. Exemples d'utilisation de filtres</p>
  22. </div>
  23.  
  24. <br />
  25. <br />
  26.  
  27. <tr valign="top">
  28. <td width="22%" height="218">
  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. The quick brown fox jumped over the lazy dog.
  34. </td>
  35. <td width="21%">
  36. &nbsp;
  37. </td>
  38. <td width="57%">
  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. The quick brown fox jumped over the lazy dog.
  43. </td>
  44. </tr>
  45. </table>
  46.  
  47. </body>
  48. </html>

Contents Haut

Exemple avec Shadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:10()</title>
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Reply-to" content="burke.edmund@infobrol.com">
  7. <meta name="Copyright" content="Edmund Burke">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <img
  12. style="filter:Shadow(direction=180, color=#DDBB99);"
  13. src="10Filter.jpg"
  14. align="center"
  15. width="96"
  16. height="82"
  17. alt="Shadow
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:Shadow(direction=180, color=#DDBB99);">
  20. Shadow
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:11()</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="richard@hamming.org">
  9. <meta name="Publisher" content="Hamming">
  10. <meta name="Copyright" content="Richard Hamming">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. </head>
  13. <body>
  14. <img
  15. style="filter:Wave(freq=34, light=58, phase=87, strength=3);"
  16. src="11Filter.jpg"
  17. align="center"
  18. width="100"
  19. height="86"
  20. alt="Wave
  21. appliqu&eacute; &agrave; une image">
  22. <span style="width: 100%; filter:Wave(freq=34, light=58, phase=87, strength=3);">
  23. Wave
  24. appliqu&eacute; &agrave; du texte
  25. </span>
  26. </body>
  27. </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="Thomas Jefferson">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="engels.friedrich@gmail.com">
  7. <meta name="Publisher" content="Engels">
  8. <meta name="Copyright" content="Friedrich Engels">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre XRay</h1>
  13. <div align="center">
  14. <img
  15. src="filter_12.gif"
  16. style="filter:XRay()"
  17. width="150"
  18. height="164"
  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/html-filtres-rf-shadow.html/xhtml-rf-tr.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