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 span()

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

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. <!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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="George Berkeley">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="wall.larry@infobrol.tk">
  10. <meta name="Publisher" content="Wall">
  11. <meta name="Copyright" content="Larry Wall">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13. </head>
  14. <body>
  15. <h1>Exemple de filtre Alpha</h1>
  16. <div align="center">
  17. <img
  18. src="filter_0.gif"
  19. style="filter:Alpha(opacity=96, finishopacity=0, style=0)"
  20. width="104"
  21. height="24"
  22. alt="Exemple de filtre 0"
  23. border="0">
  24. </div>
  25. </body>
  26. </html>

Contents 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 name="Reply-to" content="tavernier.guy@infobrol.pro">
  7. <meta name="Publisher" content="Tavernier">
  8. <meta name="Copyright" content="Guy Tavernier">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <div style="width: 100%; filter:Blur(strength=16);">
  12. Ceci est un texte avec Blur...
  13. </div>
  14. </body>
  15. </html>

Contents Haut

Exemple avec Chroma()

  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:2()</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="gosling.james@infobrol.int">
  9. <meta name="Publisher" content="Gosling">
  10. <meta name="Copyright" content="James Gosling">
  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: 3px;
  16. padding: 8px;
  17. font-family: verdana;
  18. font-size: 20px;
  19. min-width: 728px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <h1>Exemple de filtre Chroma</h1>
  27. width:100%; padding:14px; font-size:34pt; color:red;
  28. filter:2(color=#8470ff)">
  29. Application de Chroma(),
  30. texte avec Chroma
  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. </div>
  36. </body>
  37. </html>

Contents 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 name="Reply-to" content="kant.emmanuel@gmail.com">
  8. <meta name="Copyright" content="Emmanuel Kant">
  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: 2px;
  14. padding: 15px;
  15. font-family: verdana;
  16. font-size: 20px;
  17. min-width: 636px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. width:100%;
  27. padding:3px;
  28. font-size:45pt;
  29. color:blue;
  30. filter:DropShadow(color=#8470ff, offx=4, offy=3)">
  31. Exemples d'utilisation de filtres</p>
  32. </div>
  33.  
  34. <br />
  35. <br />
  36.  
  37. <tr valign="top">
  38. <td width="22%" height="218">
  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. </td>
  43. <td width="21%">
  44. &nbsp;
  45. </td>
  46. <td width="57%">
  47. The quick brown fox jumped over the lazy dog.
  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. </td>
  53. </tr>
  54. </table>
  55.  
  56. </body>
  57. </html>

Contents 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 name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="joule.jamesprescott@infobrol.pro">
  8. <meta name="Publisher" content="Joule">
  9. <meta name="Copyright" content="James Prescott Joule">
  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:FlipH();"
  16. src="4Filter.jpg"
  17. align="center"
  18. width="111"
  19. height="100"
  20. alt="FlipH
  21. appliqu&eacute; &agrave; une image">
  22. <span style="width: 100%; filter:FlipH();">
  23. FlipH
  24. appliqu&eacute; &agrave; du texte
  25. </span>
  26. </body>
  27. </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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:5()</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="Tycho Brahe">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  11. <meta name="Reply-to" content="vonneumann.john@infobrol.com">
  12. <meta name="Copyright" content="John von Neumann">
  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: 2px;
  18. padding: 15px;
  19. font-family: verdana;
  20. font-size: 20px;
  21. min-width: 636px;
  22. background:#FFFFFF;
  23. color:#000000;
  24. }
  25. </style>
  26.  
  27. </head>
  28.  
  29. <body>
  30. <h1>Exemple de filtre FlipV</h1>
  31. <div align="center">
  32. <img
  33. src="filter_5.gif"
  34. style="filter:FlipV()"
  35. width="36"
  36. height="107"
  37. alt="Exemple de filtre 5"
  38. border="0">
  39. </div>
  40. </body>
  41. </html>

Contents 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="Barbara Liskov">
  6. <meta name="Reply-to" content="mikolaj@kopernik.net">
  7. <meta name="Copyright" content="Mikolaj Kopernik">
  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: 8px;
  14. font-family: verdana;
  15. font-size: 20px;
  16. min-width: 728px;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body bgcolor="#FFFFFF" text="#000000">
  23. <h1>Exemple de filtre Glow</h1>
  24. width:100%; padding:20px; font-size:43pt; color:red;
  25. filter:6(strength=4, color=#528b8b)">
  26. Application de Glow(),
  27. texte avec Glow
  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>

Contents Haut

Exemple avec Gray()

  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:7()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Jeremy Bentham">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Publisher" content="Bernoulli">
  10. <meta name="Copyright" content="Jean Bernoulli">
  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: 3px;
  16. padding: 8px;
  17. font-family: verdana;
  18. font-size: 20px;
  19. min-width: 728px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <img
  27. style="filter:Gray();"
  28. src="7Filter.jpg"
  29. align="center"
  30. width="98"
  31. height="112"
  32. alt="Gray
  33. appliqu&eacute; &agrave; une image">
  34. <span style="width: 100%; filter:Gray();">
  35. Gray
  36. appliqu&eacute; &agrave; du texte
  37. </span>
  38. </body>
  39. </html>

Contents Haut

Exemple avec Invert()

  1. <head>
  2. <title>filter:8()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="Max Planck">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="joy.bill@infobrol.biz">
  7. <meta name="Publisher" content="Joy">
  8. <meta name="Copyright" content="Bill Joy">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <div style="width: 100%; filter:Invert();">
  13. Ceci est un texte avec Invert...
  14. </div>
  15. </body>
  16. </html>

Contents 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="Author" lang="fr" content="Friedrich Engels">
  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="machiavel.nicolas@infobrol.tk">
  9. <meta name="Publisher" content="Machiavel">
  10. <meta name="Copyright" content="Nicolas Machiavel">
  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="13"
  17. cols="4">
  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>

Contents Haut

Exemple avec Shadow()

  1. <head>
  2. <title>filter:10()</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="fourier.charles@infobrol.tk">
  8. <meta name="Publisher" content="Fourier">
  9. <meta name="Copyright" content="Charles Fourier">
  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 Shadow</h1>
  14. width:100%; padding:9px; font-size:34pt; color:red;
  15. filter:10(direction=270, color=#8470ff)">
  16. Application de Shadow(),
  17. texte avec Shadow
  18. The quick brown fox jumped over the lazy dog.
  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. </div>
  23. </body>
  24. </html>

Contents Haut

Exemple avec Wave()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:11()</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="brahe.tycho@infobrol.com">
  9. <meta name="Copyright" content="Tycho Brahe">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. width:100%;
  13. padding:9px;
  14. font-size:43pt;
  15. color:blue;
  16. filter:Wave(light=35, freq=27)">
  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. </td>
  28. <td width="21%">
  29. &nbsp;
  30. </td>
  31. <td width="57%">
  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. The quick brown fox jumped over the lazy dog.
  36. </td>
  37. </tr>
  38. </table>
  39.  
  40. </body>
  41. </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="Georges Canguilhem">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Reply-to" content="kant.emmanuel@gmail.com">
  7. <meta name="Publisher" content="Kant">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <h1>Exemple de filtre XRay</h1>
  11. <div align="center">
  12. <img
  13. src="filter_12.gif"
  14. style="filter:XRay()"
  15. width="168"
  16. height="32"
  17. alt="Exemple de filtre 12"
  18. border="0">
  19. </div>
  20. </body>
  21. </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.

Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph