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="Thomas More">
  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="fahrenheit.gabriel@infobrol.int">
  10. <meta name="Copyright" content="Gabriel Fahrenheit">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 2px;
  15. padding: 10px;
  16. font-family: verdana;
  17. font-size: 20px;
  18. min-width: 764px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <h1>Exemple de filtre Alpha</h1>
  28. <div align="center">
  29. <img
  30. src="filter_0.gif"
  31. style="filter:Alpha(opacity=40, finishopacity=0, style=1)"
  32. width="143"
  33. height="188"
  34. alt="Exemple de filtre 0"
  35. border="0">
  36. </div>
  37. </body>
  38. </html>

Table des matières Haut

Exemple avec Blur()

  1. <head>
  2. <title>filter:1()</title>
  3. <meta name="Author" lang="fr" content="Rasmus Lerdorf">
  4. <meta name="Reply-to" content="stroustrup.bjarne@infobrol.com">
  5. <meta name="Copyright" content="Bjarne Stroustrup">
  6. <meta http-equiv="content-language" content="fr">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8. </head>
  9. <body>
  10. <img
  11. style="filter:Blur(direction=315, strength=8);"
  12. src="1Filter.jpg"
  13. align="center"
  14. width="109"
  15. height="89"
  16. alt="Blur
  17. appliqu&eacute; &agrave; une image">
  18. <span style="width: 100%; filter:Blur(direction=315, strength=8);">
  19. Blur
  20. appliqu&eacute; &agrave; du texte
  21. </span>
  22. </body>
  23. </html>

Table des matières Haut

Exemple avec Chroma()

  1. <head>
  2. <title>filter:2()</title>
  3. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  4. <meta name="Reply-to" content="bohr.niels@infobrol.biz">
  5. <meta name="Publisher" content="Bohr">
  6. <meta name="Copyright" content="Niels Bohr">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <div style="width: 100%; filter:Chroma(color=#cd853f);">
  11. Ceci est un texte avec Chroma...
  12. </div>
  13. </body>
  14. </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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:3()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Reply-to" content="bohr.niels@infobrol.biz">
  9. <meta name="Copyright" content="Niels Bohr">
  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: 3px;
  15. padding: 2px;
  16. font-family: verdana;
  17. font-size: 9px;
  18. min-width: 615px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <h1>Exemple de filtre DropShadow</h1>
  26. width:100%; padding:6px; font-size:48pt; color:red;
  27. filter:3(color=#528b8b)">
  28. Application de DropShadow(),
  29. texte avec DropShadow
  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. </div>
  35. </body>
  36. </html>

Table des matières 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="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="kant.emmanuel@infobrol.edu">
  9. <meta name="Copyright" content="Emmanuel Kant">
  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. <h1>Exemple de filtre FlipH</h1>
  14. <div align="center">
  15. <img
  16. src="filter_4.gif"
  17. style="filter:FlipH()"
  18. width="126"
  19. height="88"
  20. alt="Exemple de filtre 4"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Table des matières 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="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="kepler.johannes@gmail.com">
  9. <meta name="Copyright" content="Johannes Kepler">
  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. <img
  15. style="filter:FlipV();"
  16. src="5Filter.jpg"
  17. align="center"
  18. width="111"
  19. height="93"
  20. alt="FlipV
  21. appliqu&eacute; &agrave; une image">
  22. <span style="width: 100%; filter:FlipV();">
  23. FlipV
  24. appliqu&eacute; &agrave; du texte
  25. </span>
  26. </body>
  27. </html>

Table des matières Haut

Exemple avec Glow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:6()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Author" lang="fr" content="Philippe Kahn">
  6. <meta name="Reply-to" content="moshe@bennahman.org">
  7. <meta name="Publisher" content="ben Nahman">
  8. <meta name="Copyright" content="Moshe ben Nahman">
  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: 2px;
  15. font-family: verdana;
  16. font-size: 9px;
  17. min-width: 615px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <h1>Exemple de filtre Glow</h1>
  25. width:100%; padding:11px; font-size:16pt; color:red;
  26. filter:6(strength=13, color=#528b8b)">
  27. Application de Glow(),
  28. texte avec Glow
  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. </div>
  34. </body>
  35. </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="Reply-to" content="fechner.gustav@gmail.com">
  8. <meta name="Copyright" content="Gustav Fechner">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. width:100%;
  13. padding:8px;
  14. font-size:14pt;
  15. color:blue;
  16. filter:Gray()">
  17. Exemples d'utilisation de filtres</p>
  18. </div>
  19.  
  20. <br />
  21. <br />
  22.  
  23. <tr valign="top">
  24. <td width="22%" height="218">
  25. The quick brown fox jumped over the lazy dog.
  26. The quick brown fox jumped over the lazy dog.
  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. </td>
  31. <td width="21%">
  32. &nbsp;
  33. </td>
  34. <td width="57%">
  35. The quick brown fox jumped over the lazy dog.
  36. The quick brown fox jumped over the lazy dog.
  37. The quick brown fox jumped over the lazy dog.
  38. </td>
  39. </tr>
  40. </table>
  41.  
  42. </body>
  43. </html>

Table des matières 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 http-equiv="pragma" content="no-cache">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="evangelista@torricelli.org">
  8. <meta name="Copyright" content="Evangelista Torricelli">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <img
  13. style="filter:Invert();"
  14. src="8Filter.jpg"
  15. align="center"
  16. width="110"
  17. height="88"
  18. alt="Invert
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:Invert();">
  21. Invert
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </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="pragma" content="no-cache">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Reply-to" content="becquerel.antoinehenri@infobrol.int">
  7. <meta name="Publisher" content="Becquerel">
  8. <meta name="Copyright" content="Antoine Henri Becquerel">
  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: 2px;
  15. font-family: verdana;
  16. font-size: 9px;
  17. min-width: 615px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <h1>Exemple de filtre Mask</h1>
  25. <div align="center">
  26. <img
  27. src="filter_9.gif"
  28. style="filter:Mask(color=#528b8b)"
  29. width="146"
  30. height="41"
  31. alt="Exemple de filtre 9"
  32. border="0">
  33. </div>
  34. </body>
  35. </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="Author" lang="fr" content="Niklaus Wirth">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Copyright" content="Ibn Tufayl">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. </head>
  12. <body>
  13. <img
  14. style="filter:Shadow(color=#528b8b);"
  15. src="10Filter.jpg"
  16. align="center"
  17. width="75"
  18. height="107"
  19. alt="Shadow
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Shadow(color=#528b8b);">
  22. Shadow
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </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 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="fleming.alexander@infobrol.edu">
  9. <meta name="Copyright" content="Alexander Fleming">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre Wave</h1>
  13. <div align="center">
  14. <img
  15. src="filter_11.gif"
  16. style="filter:Wave(freq=23, light=19, phase=1, strength=10)"
  17. width="182"
  18. height="87"
  19. alt="Exemple de filtre 11"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Table des matières Haut

Exemple avec XRay()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:12()</title>
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="fahrenheit.gabriel@infobrol.int">
  8. <meta name="Publisher" content="Fahrenheit">
  9. <meta name="Copyright" content="Gabriel Fahrenheit">
  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. <h1>Exemple de filtre XRay</h1>
  15. <div align="center">
  16. <img
  17. src="filter_12.gif"
  18. style="filter:XRay()"
  19. width="144"
  20. height="188"
  21. alt="Exemple de filtre 12"
  22. border="0">
  23. </div>
  24. </body>
  25. </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-wave.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