Filtre td()

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

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

Table des matières 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. <!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:0()</title>
  6. <meta name="Author" lang="fr" content="Niklaus Wirth">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="tucker.benjamin@infobrol.tk">
  9. <meta name="Publisher" content="Tucker">
  10. <meta name="Copyright" content="Benjamin Tucker">
  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: 0px;
  16. padding: 7px;
  17. font-family: verdana;
  18. font-size: 12px;
  19. min-width: 671px;
  20. background:#FFFFFF;
  21. color:#000000;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28. <img
  29. style="filter:Alpha(opacity=15, finishopacity=0, style=1);"
  30. src="0Filter.jpg"
  31. align="center"
  32. width="75"
  33. height="107"
  34. alt="Alpha
  35. appliqu&eacute; &agrave; une image">
  36. <span style="width: 100%; filter:Alpha(opacity=15, finishopacity=0, style=1);">
  37. Alpha
  38. appliqu&eacute; &agrave; du texte
  39. </span>
  40. </body>
  41. </html>

Table des matières Haut

Exemple avec Blur()

  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: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="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="scot.duns@infobrol.com">
  10. <meta name="Publisher" content="Scot">
  11. <meta name="Copyright" content="Duns Scot">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13. </head>
  14. <body>
  15. <div style="width: 100%; filter:Blur(strength=17);">
  16. Ceci est un texte avec Blur...
  17. </div>
  18. </body>
  19. </html>

Table des matières Haut

Exemple avec Chroma()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:2()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="John Vincent Atanasoff">
  7. <meta name="Reply-to" content="yeshayahou@leibowitz.net">
  8. <meta name="Publisher" content="Leibowitz">
  9. <meta name="Copyright" content="Yeshayahou Leibowitz">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. </head>
  13. <body>
  14. <div style="width: 100%; filter:Chroma(color=#cdc9a5);">
  15. Ceci est un texte avec Chroma...
  16. </div>
  17. </body>
  18. </html>

Table des matières Haut

Exemple avec DropShadow()

  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:3()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Reply-to" content="wernher.vonbraun@infobrol.biz">
  7. <meta name="Publisher" content="Wernher">
  8. <meta name="Copyright" content="von Braun Wernher">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <form>
  13. <textarea id="test_textarea"
  14. style="filter:DropShadow(offx=3, offy=3);"
  15. rows="4"
  16. cols="11">
  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:DropShadow(offx=3, offy=3);" />
  24. </form>
  25. </body>
  26. </html>

Table des matières Haut

Exemple avec FlipH()

  1. <head>
  2. <title>filter:4()</title>
  3. <meta name="Reply-to" content="alex.bell@telephone.com">
  4. <meta name="Publisher" content="Bell">
  5. <meta name="Copyright" content="Alexandre Graham Bell">
  6. <meta http-equiv="content-language" content="fr">
  7. </head>
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. <img
  10. style="filter:FlipH();"
  11. src="4Filter.jpg"
  12. align="center"
  13. width="75"
  14. height="78"
  15. alt="FlipH
  16. appliqu&eacute; &agrave; une image">
  17. <span style="width: 100%; filter:FlipH();">
  18. FlipH
  19. appliqu&eacute; &agrave; du texte
  20. </span>
  21. </body>
  22. </html>

Table des matières 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 http-equiv="content-language" content="fr">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7. </head>
  8. <body>
  9. <img
  10. style="filter:FlipV();"
  11. src="5Filter.jpg"
  12. align="center"
  13. width="99"
  14. height="79"
  15. alt="FlipV
  16. appliqu&eacute; &agrave; une image">
  17. <span style="width: 100%; filter:FlipV();">
  18. FlipV
  19. appliqu&eacute; &agrave; du texte
  20. </span>
  21. </body>
  22. </html>

Table des matières 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="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Author" lang="fr" content="Joseph Fourier">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="cousin.victor@gmail.com">
  11. <meta name="Publisher" content="Cousin">
  12. <meta name="Copyright" content="Victor Cousin">
  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=#e0eee0);"
  18. src="6Filter.jpg"
  19. align="center"
  20. width="113"
  21. height="117"
  22. alt="Glow
  23. appliqu&eacute; &agrave; une image">
  24. <span style="width: 100%; filter:Glow(color=#e0eee0);">
  25. Glow
  26. appliqu&eacute; &agrave; du texte
  27. </span>
  28. </body>
  29. </html>

Table des matières 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="Copyright" content="Donald Knuth">
  5. <meta http-equiv="content-language" content="fr">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7.  
  8. body {
  9. margin: 0px;
  10. padding: 7px;
  11. font-family: verdana;
  12. font-size: 12px;
  13. min-width: 671px;
  14. background:#FFFFFF;
  15. color:#000000;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body>
  22. <h1>Exemple de filtre Gray</h1>
  23. width:100%; padding:9px; font-size:13pt; color:red;
  24. filter:7()">
  25. Application de Gray(),
  26. texte avec Gray
  27. The quick brown fox jumped over the lazy dog.
  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. </div>
  32. </body>
  33. </html>

Table des matières Haut

Exemple avec Invert()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:8()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="pragma" content="no-cache">
  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="kernighan.brian@gmail.com">
  9. <meta name="Publisher" content="Kernighan">
  10. <meta name="Copyright" content="Brian Kernighan">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 0px;
  15. padding: 11px;
  16. font-family: verdana;
  17. font-size: 15px;
  18. min-width: 689px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. width:100%;
  26. padding:8px;
  27. font-size:27pt;
  28. color:blue;
  29. filter:Invert()">
  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. The quick brown fox jumped over the lazy dog.
  42. The quick brown fox jumped over the lazy dog.
  43. </td>
  44. <td width="21%">
  45. &nbsp;
  46. </td>
  47. <td width="57%">
  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. The quick brown fox jumped over the lazy dog.
  53. </td>
  54. </tr>
  55. </table>
  56.  
  57. </body>
  58. </html>

Table des matières Haut

Exemple avec Mask()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:9()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Gerald Jay Sussman">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="zimmerman.phil@infobrol.tk">
  9. <meta name="Copyright" content="Phil Zimmerman">
  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: 0px;
  15. padding: 11px;
  16. font-family: verdana;
  17. font-size: 15px;
  18. min-width: 689px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <img
  26. style="filter:Mask(color=#e0eee0);"
  27. src="9Filter.jpg"
  28. align="center"
  29. width="108"
  30. height="75"
  31. alt="Mask
  32. appliqu&eacute; &agrave; une image">
  33. <span style="width: 100%; filter:Mask(color=#e0eee0);">
  34. Mask
  35. appliqu&eacute; &agrave; du texte
  36. </span>
  37. </body>
  38. </html>

Table des matières 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. <head>
  4. <title>filter:10()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="alex.bell@telephone.com">
  9. <meta name="Publisher" content="Bell">
  10. <meta name="Copyright" content="Alexandre Graham Bell">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. <img
  15. style="filter:Shadow(color=#e0eee0);"
  16. src="10Filter.jpg"
  17. align="center"
  18. width="88"
  19. height="105"
  20. alt="Shadow
  21. appliqu&eacute; &agrave; une image">
  22. <span style="width: 100%; filter:Shadow(color=#e0eee0);">
  23. Shadow
  24. appliqu&eacute; &agrave; du texte
  25. </span>
  26. </body>
  27. </html>

Table des matières 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="cox.alan@gmail.com">
  7. <meta name="Publisher" content="Cox">
  8. <meta name="Copyright" content="Alan Cox">
  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:Wave(freq=42, light=27, phase=56, strength=10);"
  15. rows="5"
  16. cols="18">
  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:Wave(freq=42, light=27, phase=56, strength=10);" />
  24. </form>
  25. </body>
  26. </html>

Table des matières 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="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Copyright" content="Hendrik Antoon Lorentz">
  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: 0px;
  15. padding: 11px;
  16. font-family: verdana;
  17. font-size: 15px;
  18. min-width: 689px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <h1>Exemple de filtre XRay</h1>
  26. <div align="center">
  27. <img
  28. src="filter_12.gif"
  29. style="filter:XRay()"
  30. width="162"
  31. height="20"
  32. alt="Exemple de filtre 12"
  33. border="0">
  34. </div>
  35. </body>
  36. </html>

Table des matières 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.

Document créé le 27/02/2003, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/html-filtres-rf-blur.html/xhtml-rf-td.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Filtres : selfhtml (version 13/02/10)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut