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. <?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="Carl Zeiss">
  7. <meta name="Publisher" content="Fleming">
  8. <meta name="Copyright" content="Alexander Fleming">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 0px;
  13. padding: 8px;
  14. font-family: verdana;
  15. font-size: 12px;
  16. min-width: 647px;
  17. background:#FFFFFF;
  18. color:#000000;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body>
  25. <h1>Exemple de filtre Alpha</h1>
  26. <div align="center">
  27. <img
  28. src="filter_0.gif"
  29. style="filter:Alpha(opacity=64, finishopacity=0, style=3)"
  30. width="73"
  31. height="53"
  32. alt="Exemple de filtre 0"
  33. border="0">
  34. </div>
  35. </body>
  36. </html>

Table des matières 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="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="truong.jean-michel@infobrol.tk">
  9. <meta name="Publisher" content="Truong">
  10. <meta name="Copyright" content="Jean-Michel Truong">
  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: 8px;
  17. font-family: verdana;
  18. font-size: 12px;
  19. min-width: 647px;
  20. background:#FFFFFF;
  21. color:#000000;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28. <div style="width: 100%; filter:Blur(direction=0, strength=6);">
  29. Ceci est un texte avec Blur...
  30. </div>
  31. </body>
  32. </html>

Table des matières Haut

Exemple avec Chroma()

  1. <head>
  2. <title>filter:2()</title>
  3. <meta name="Author" lang="fr" content="Duns Scot">
  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="newton.isaac@infobrol.biz">
  7. <meta name="Copyright" content="Isaac Newton">
  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: 1px;
  13. padding: 17px;
  14. font-family: verdana;
  15. font-size: 15px;
  16. min-width: 758px;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body bgcolor="#FFFFFF" text="#000000">
  23. <h1>Exemple de filtre Chroma</h1>
  24. <div align="center">
  25. <img
  26. src="filter_2.gif"
  27. style="filter:Chroma(color=#cd853f)"
  28. width="194"
  29. height="85"
  30. alt="Exemple de filtre 2"
  31. border="0">
  32. </div>
  33. </body>
  34. </html>

Table des matières 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="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Publisher" content="Gosling">
  7. <meta name="Copyright" content="James Gosling">
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <h1>Exemple de filtre DropShadow</h1>
  11. width:100%; padding:6px; font-size:47pt; color:red;
  12. filter:3(color=#cd853f)">
  13. Application de DropShadow(),
  14. texte avec DropShadow
  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>

Table des matières 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. <head>
  4. <title>filter:4()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="stroustrup.bjarne@infobrol.int">
  8. <meta name="Publisher" content="Stroustrup">
  9. <meta name="Copyright" content="Bjarne Stroustrup">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 1px;
  14. padding: 17px;
  15. font-family: verdana;
  16. font-size: 15px;
  17. min-width: 758px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <h1>Exemple de filtre FlipH</h1>
  25. <div align="center">
  26. <img
  27. src="filter_4.gif"
  28. style="filter:FlipH()"
  29. width="109"
  30. height="189"
  31. alt="Exemple de filtre 4"
  32. border="0">
  33. </div>
  34. </body>
  35. </html>

Table des matières Haut

Exemple avec FlipV()

  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:5()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Gustav Fechner">
  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="clark.david@infobrol.com">
  11. <meta name="Publisher" content="Clark">
  12. <meta name="Copyright" content="David Clark">
  13. <meta http-equiv="content-language" content="fr">
  14. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  15.  
  16. body {
  17. margin: 1px;
  18. padding: 17px;
  19. font-family: verdana;
  20. font-size: 15px;
  21. min-width: 758px;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body bgcolor="#FFFFFF" text="#000000">
  28. <h1>Exemple de filtre FlipV</h1>
  29. <div align="center">
  30. <img
  31. src="filter_5.gif"
  32. style="filter:FlipV()"
  33. width="146"
  34. height="25"
  35. alt="Exemple de filtre 5"
  36. border="0">
  37. </div>
  38. </body>
  39. </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 name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="feigenbaum.edward@infobrol.tk">
  9. <meta name="Publisher" content="Feigenbaum">
  10. <meta name="Copyright" content="Edward Feigenbaum">
  11. </head>
  12. <body>
  13. <img
  14. style="filter:Glow(color=#cd853f);"
  15. src="6Filter.jpg"
  16. align="center"
  17. width="91"
  18. height="107"
  19. alt="Glow
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Glow(color=#cd853f);">
  22. Glow
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Table des matières Haut

Exemple avec Gray()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:7()</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="becquerel.antoinehenri@gmail.com">
  9. <meta name="Publisher" content="Becquerel">
  10. <meta name="Copyright" content="Antoine Henri Becquerel">
  11. </head>
  12. <body>
  13. <img
  14. style="filter:Gray();"
  15. src="7Filter.jpg"
  16. align="center"
  17. width="88"
  18. height="115"
  19. alt="Gray
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Gray();">
  22. Gray
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Table des matières 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="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="venkat@subramaniam.org">
  10. <meta name="Copyright" content="Venkat Subramaniam">
  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. <div style="width: 100%; filter:Invert();">
  15. Ceci est un texte avec Invert...
  16. </div>
  17. </body>
  18. </html>

Table des matières 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="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Gabriel Fahrenheit">
  7. <meta name="Reply-to" content="spengler.oswald@infobrol.biz">
  8. <meta name="Copyright" content="Oswald Spengler">
  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: 1px;
  14. padding: 17px;
  15. font-family: verdana;
  16. font-size: 15px;
  17. min-width: 758px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <div style="width: 100%; filter:Mask(color=#cd853f);">
  25. Ceci est un texte avec Mask...
  26. </div>
  27. </body>
  28. </html>

Table des matières Haut

Exemple avec Shadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:10()</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 Locke">
  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="turing.alanmathison@infobrol.biz">
  10. <meta name="Copyright" content="Alan Mathison Turing">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 1px;
  15. padding: 17px;
  16. font-family: verdana;
  17. font-size: 15px;
  18. min-width: 758px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <div style="width: 100%; filter:Shadow(color=#cd853f);">
  26. Ceci est un texte avec Shadow...
  27. </div>
  28. </body>
  29. </html>

Table des matières Haut

Exemple avec Wave()

  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:11()</title>
  6. <meta name="Author" lang="fr" content="Ludwig Wittgenstein">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Publisher" content="Babbage">
  9. <meta name="Copyright" content="Charles Babbage">
  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: 8px;
  16. font-family: verdana;
  17. font-size: 12px;
  18. min-width: 647px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. width:100%;
  28. padding:10px;
  29. font-size:34pt;
  30. color:blue;
  31. filter:Wave(light=5, freq=40)">
  32. Exemples d'utilisation de filtres</p>
  33. </div>
  34.  
  35. <br />
  36. <br />
  37.  
  38. <tr valign="top">
  39. <td width="22%" height="218">
  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 XRay()

  1. <head>
  2. <title>filter:12()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Reply-to" content="sussman.geraldjay@infobrol.biz">
  6. <meta name="Copyright" content="Gerald Jay Sussman">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body>
  10. <h1>Exemple de filtre XRay</h1>
  11. <div align="center">
  12. <img
  13. src="filter_12.gif"
  14. style="filter:XRay()"
  15. width="138"
  16. height="99"
  17. alt="Exemple de filtre 12"
  18. border="0">
  19. </div>
  20. </body>
  21. </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-dropshadow.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