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. <?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:0()</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="von Braun Wernher">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Reply-to" content="fleming.alexander@infobrol.tk">
  11. <meta name="Copyright" content="Alexander Fleming">
  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. <h1>Exemple de filtre Alpha</h1>
  17. <div align="center">
  18. <img
  19. src="filter_0.gif"
  20. style="filter:Alpha(opacity=45, finishopacity=0, style=1)"
  21. width="80"
  22. height="42"
  23. alt="Exemple de filtre 0"
  24. border="0">
  25. </div>
  26. </body>
  27. </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. <head>
  4. <title>filter:1()</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="Yeshayahou Leibowitz">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="georges@canguilhem.net">
  10. <meta name="Publisher" content="Canguilhem">
  11. <meta name="Copyright" content="Georges Canguilhem">
  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 Blur</h1>
  16. <div align="center">
  17. <img
  18. src="filter_1.gif"
  19. style="filter:Blur(direction=225, strength=6)"
  20. width="87"
  21. height="84"
  22. alt="Exemple de filtre 1"
  23. border="0">
  24. </div>
  25. </body>
  26. </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 name="Copyright" content="Samuel Morse">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 0px;
  12. padding: 4px;
  13. font-family: verdana;
  14. font-size: 18px;
  15. min-width: 693px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. <form>
  23. <textarea id="test_textarea"
  24. style="filter:Chroma(color=#cd853f);"
  25. rows="18"
  26. cols="8">
  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. type="button"
  31. name="btn1"
  32. value="Test"
  33. style="filter:Chroma(color=#cd853f);" />
  34. </form>
  35. </body>
  36. </html>

Contents 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="pragma" content="no-cache">
  7. <meta name="Publisher" content="Turing">
  8. <meta name="Copyright" content="Alan Mathison Turing">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. </head>
  12. <body>
  13. <div style="width: 100%; filter:DropShadow(color=#cd853f, offx=2, offy=4);">
  14. Ceci est un texte avec DropShadow...
  15. </div>
  16. </body>
  17. </html>

Contents Haut

Exemple avec FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:4()</title>
  4. <meta name="Author" lang="fr" content="Wilbur Wright">
  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="khayyam.omar@infobrol.com">
  8. <meta name="Publisher" content="Khayyam">
  9. <meta name="Copyright" content="Omar Khayyam">
  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: 4px;
  15. padding: 18px;
  16. font-family: verdana;
  17. font-size: 15px;
  18. min-width: 721px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <img
  28. style="filter:FlipH();"
  29. src="4Filter.jpg"
  30. align="center"
  31. width="112"
  32. height="111"
  33. alt="FlipH
  34. appliqu&eacute; &agrave; une image">
  35. <span style="width: 100%; filter:FlipH();">
  36. FlipH
  37. appliqu&eacute; &agrave; du texte
  38. </span>
  39. </body>
  40. </html>

Contents Haut

Exemple avec FlipV()

  1. <head>
  2. <title>filter:5()</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="schopenhauer.arthur@infobrol.edu">
  8. <meta name="Copyright" content="Arthur Schopenhauer">
  9. </head>
  10. <body>
  11. <img
  12. style="filter:FlipV();"
  13. src="5Filter.jpg"
  14. align="center"
  15. width="120"
  16. height="120"
  17. alt="FlipV
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:FlipV();">
  20. FlipV
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </html>

Contents 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 name="Author" lang="fr" content="Edmond Halley">
  8. <meta name="Reply-to" content="proudhon.pierre-joseph@gmail.com">
  9. <meta name="Copyright" content="Pierre-Joseph Proudhon">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre Glow</h1>
  14. <div align="center">
  15. <img
  16. src="filter_6.gif"
  17. style="filter:Glow(color=#cd853f)"
  18. width="45"
  19. height="15"
  20. alt="Exemple de filtre 6"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Contents 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="Author" lang="fr" content="John Vincent Atanasoff">
  5. <meta name="Reply-to" content="alan@cox.info">
  6. <meta name="Copyright" content="Alan Cox">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. </head>
  10. <body>
  11. <div style="width: 100%; filter:Gray();">
  12. Ceci est un texte avec Gray...
  13. </div>
  14. </body>
  15. </html>

Contents 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="Reply-to" content="thomson.william@infobrol.edu">
  9. <meta name="Copyright" content="William Thomson">
  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: 4px;
  15. padding: 18px;
  16. font-family: verdana;
  17. font-size: 15px;
  18. min-width: 721px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <div style="width: 100%; filter:Invert();">
  28. Ceci est un texte avec Invert...
  29. </div>
  30. </body>
  31. </html>

Contents Haut

Exemple avec Mask()

  1. <head>
  2. <title>filter:9()</title>
  3. <meta name="Reply-to" content="pavlov.ivanpetrovitch@infobrol.com">
  4. <meta name="Publisher" content="Pavlov">
  5. <meta name="Copyright" content="Ivan Petrovitch Pavlov">
  6. </head>
  7. <body bgcolor="#FFFFFF" text="#000000">
  8. <form>
  9. <textarea id="test_textarea"
  10. style="filter:Mask(color=#cd853f);"
  11. rows="18"
  12. cols="7">
  13. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  14. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  15. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  16. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  17. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  18. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  19. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  20. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  21. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  22. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  23. Maecenas porttitor congue massa. Fusce posuere, magna sed
  24. pulvinar ultricies, purus lectus malesuada libero, sit amet
  25. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  26. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  27. tristique senectus et netus et malesuada fames ac turpis
  28. egestas. Proin pharetra nonummy pede.
  29. type="button"
  30. name="btn1"
  31. value="Test"
  32. style="filter:Mask(color=#cd853f);" />
  33. </form>
  34. </body>
  35. </html>

Contents Haut

Exemple avec Shadow()

  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:10()</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="dijkstra.edsger@gmail.com">
  9. <meta name="Publisher" content="Dijkstra">
  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: 4px;
  16. font-family: verdana;
  17. font-size: 18px;
  18. min-width: 693px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. width:100%;
  26. padding:19px;
  27. font-size:38pt;
  28. color:blue;
  29. filter:Shadow(direction=180, color=#cd853f)">
  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. </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. </td>
  50. </tr>
  51. </table>
  52.  
  53. </body>
  54. </html>

Contents 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="Anderson Carl David">
  7. <meta name="Reply-to" content="appleton@edward.info">
  8. <meta name="Publisher" content="Edward">
  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 Wave</h1>
  13. width:100%; padding:17px; font-size:19pt; color:red;
  14. filter:11(light=79, freq=46)">
  15. Application de Wave(),
  16. texte avec Wave
  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. The quick brown fox jumped over the lazy dog.
  21. </div>
  22. </body>
  23. </html>

Contents Haut

Exemple avec XRay()

  1. <head>
  2. <title>filter:12()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  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="shannon.claude@infobrol.int">
  7. <meta name="Copyright" content="Claude Shannon">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <h1>Exemple de filtre XRay</h1>
  12. <div align="center">
  13. <img
  14. src="filter_12.gif"
  15. style="filter:XRay()"
  16. width="56"
  17. height="53"
  18. alt="Exemple de filtre 12"
  19. border="0">
  20. </div>
  21. </body>
  22. </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