Filtre table()

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

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 http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="Benjamin Franklin">
  8. <meta name="Reply-to" content="shannon.claude@infobrol.tk">
  9. <meta name="Copyright" content="Claude Shannon">
  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 Alpha</h1>
  14. <div align="center">
  15. <img
  16. src="filter_0.gif"
  17. style="filter:Alpha(opacity=28, finishopacity=0, style=2)"
  18. width="200"
  19. height="74"
  20. alt="Exemple de filtre 0"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Table des matières Haut

Exemple avec Blur()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:1()</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="Reply-to" content="vanallen@jamesalfred.net">
  7. <meta name="Copyright" content="Van Allen James Alfred">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <h1>Exemple de filtre Blur</h1>
  12. width:100%; padding:10px; font-size:39pt; color:red;
  13. filter:1(direction=0, strength=8)">
  14. Application de Blur(),
  15. texte avec Blur
  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. The quick brown fox jumped over the lazy dog.
  20. </div>
  21. </body>
  22. </html>

Table des matières Haut

Exemple avec Chroma()

  1. <head>
  2. <title>filter:2()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Reply-to" content="lenat.douglas@infobrol.pro">
  6. <meta name="Publisher" content="Lenat">
  7. <meta name="Copyright" content="Douglas Lenat">
  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: 3px;
  13. padding: 16px;
  14. font-family: verdana;
  15. font-size: 9px;
  16. min-width: 625px;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body bgcolor="#FFFFFF" text="#000000">
  23. <h1>Exemple de filtre Chroma</h1>
  24. width:100%; padding:11px; font-size:39pt; color:red;
  25. filter:2(color=#8470ff)">
  26. Application de Chroma(),
  27. texte avec Chroma
  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. The quick brown fox jumped over the lazy dog.
  32. </div>
  33. </body>
  34. </html>

Table des matières 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="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="jefferson.thomas@infobrol.pro">
  9. <meta name="Copyright" content="Thomas Jefferson">
  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. <form>
  15. <textarea id="test_textarea"
  16. style="filter:DropShadow(offx=1, offy=4);"
  17. rows="18"
  18. cols="11">
  19. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  20. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  21. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  22. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  23. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  24. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  25. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  26. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  27. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  28. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  29. Maecenas porttitor congue massa. Fusce posuere, magna sed
  30. pulvinar ultricies, purus lectus malesuada libero, sit amet
  31. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  32. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  33. tristique senectus et netus et malesuada fames ac turpis
  34. egestas. Proin pharetra nonummy pede.
  35. type="button"
  36. name="btn1"
  37. value="Test"
  38. style="filter:DropShadow(offx=1, offy=4);" />
  39. </form>
  40. </body>
  41. </html>

Table des matières Haut

Exemple avec FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:4()</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="Carl Zeiss">
  7. <meta name="Reply-to" content="hertz.heinrichrudolf@infobrol.tk">
  8. <meta name="Copyright" content="Heinrich Rudolf Hertz">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <h1>Exemple de filtre FlipH</h1>
  13. <div align="center">
  14. <img
  15. src="filter_4.gif"
  16. style="filter:FlipH()"
  17. width="192"
  18. height="113"
  19. alt="Exemple de filtre 4"
  20. border="0">
  21. </div>
  22. </body>
  23. </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 http-equiv="pragma" content="no-cache">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Publisher" content="Joule">
  9. <meta name="Copyright" content="James Prescott Joule">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body>
  13. <h1>Exemple de filtre FlipV</h1>
  14. <div align="center">
  15. <img
  16. src="filter_5.gif"
  17. style="filter:FlipV()"
  18. width="148"
  19. height="42"
  20. alt="Exemple de filtre 5"
  21. border="0">
  22. </div>
  23. </body>
  24. </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="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="marie@curie.org">
  10. <meta name="Publisher" content="Curie">
  11. <meta name="Copyright" content="Marie Curie">
  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: 5px;
  17. padding: 2px;
  18. font-family: verdana;
  19. font-size: 8px;
  20. min-width: 613px;
  21. background:#FFFFFF;
  22. color:#000000;
  23. }
  24. </style>
  25.  
  26. </head>
  27.  
  28. <body>
  29. <div style="width: 100%; filter:Glow(color=#8470ff, strength=10);">
  30. Ceci est un texte avec Glow...
  31. </div>
  32. </body>
  33. </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 http-equiv="pragma" content="no-cache">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="wittgenstein.ludwig@gmail.com">
  7. <meta name="Copyright" content="Ludwig Wittgenstein">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <form>
  12. <textarea id="test_textarea"
  13. style="filter:Gray();"
  14. rows="4"
  15. cols="10">
  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. type="button"
  20. name="btn1"
  21. value="Test"
  22. style="filter:Gray();" />
  23. </form>
  24. </body>
  25. </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 name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="wilhelm@rontgen.net">
  7. <meta name="Publisher" content="Rontgen">
  8. <meta name="Copyright" content="Wilhelm Rontgen">
  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="98"
  17. height="79"
  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="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="locke.john@infobrol.edu">
  9. <meta name="Copyright" content="John Locke">
  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. <form>
  14. <textarea id="test_textarea"
  15. style="filter:Mask(color=#8470ff);"
  16. rows="20"
  17. cols="20">
  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:Mask(color=#8470ff);" />
  38. </form>
  39. </body>
  40. </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="Charles Bonnet">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="backus.john@infobrol.com">
  10. <meta name="Publisher" content="Backus">
  11. <meta name="Copyright" content="John Backus">
  12. <meta http-equiv="content-language" content="fr">
  13. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  14. <body bgcolor="#FFFFFF" text="#000000">
  15. <h1>Exemple de filtre Shadow</h1>
  16. <div align="center">
  17. <img
  18. src="filter_10.gif"
  19. style="filter:Shadow(color=#e0eee0)"
  20. width="92"
  21. height="18"
  22. alt="Exemple de filtre 10"
  23. border="0">
  24. </div>
  25. </body>
  26. </html>

Table des matières Haut

Exemple avec Wave()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:11()</title>
  4. <meta name="Reply-to" content="strachey.christopher@gmail.com">
  5. <meta name="Publisher" content="Strachey">
  6. <meta name="Copyright" content="Christopher Strachey">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. width:100%;
  11. padding:18px;
  12. font-size:19pt;
  13. color:blue;
  14. filter:Wave(light=56, freq=30)">
  15. Exemples d'utilisation de filtres</p>
  16. </div>
  17.  
  18. <br />
  19. <br />
  20.  
  21. <tr valign="top">
  22. <td width="22%" height="218">
  23. The quick brown fox jumped over the lazy dog.
  24. The quick brown fox jumped over the lazy dog.
  25. </td>
  26. <td width="21%">
  27. &nbsp;
  28. </td>
  29. <td width="57%">
  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. The quick brown fox jumped over the lazy dog.
  35. </td>
  36. </tr>
  37. </table>
  38.  
  39. </body>
  40. </html>

Table des matières Haut

Exemple avec XRay()

  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:12()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Author" lang="fr" content="John William Mauchly">
  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="bonnet.charles@infobrol.int">
  10. <meta name="Publisher" content="Bonnet">
  11. <meta name="Copyright" content="Charles Bonnet">
  12. <meta http-equiv="content-language" content="fr">
  13. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  14. </head>
  15. <body>
  16. <img
  17. style="filter:XRay();"
  18. src="12Filter.jpg"
  19. align="center"
  20. width="110"
  21. height="85"
  22. alt="XRay
  23. appliqu&eacute; &agrave; une image">
  24. <span style="width: 100%; filter:XRay();">
  25. XRay
  26. appliqu&eacute; &agrave; du texte
  27. </span>
  28. </body>
  29. </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-table.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