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="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Copyright" content="Richard Hamming">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body>
  13. <img
  14. style="filter:Alpha(opacity=96, finishopacity=0, style=2);"
  15. src="0Filter.jpg"
  16. align="center"
  17. width="78"
  18. height="97"
  19. alt="Alpha
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Alpha(opacity=96, finishopacity=0, style=2);">
  22. Alpha
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </html>

Contents 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 http-equiv="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Rudolf Diesel">
  7. <meta name="Reply-to" content="edward.appleton@infobrol.biz">
  8. <meta name="Copyright" content="Appleton Edward">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <form>
  13. <textarea id="test_textarea"
  14. style="filter:Blur(strength=2);"
  15. rows="4"
  16. cols="7">
  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. type="button"
  21. name="btn1"
  22. value="Test"
  23. style="filter:Blur(strength=2);" />
  24. </form>
  25. </body>
  26. </html>

Contents Haut

Exemple avec Chroma()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:2()</title>
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="scot.duns@infobrol.tk">
  7. <meta name="Copyright" content="Duns Scot">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <div style="width: 100%; filter:Chroma(color=#8470ff);">
  13. Ceci est un texte avec Chroma...
  14. </div>
  15. </body>
  16. </html>

Contents 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="Author" lang="fr" content="Guido Van Rossum">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Copyright" content="William Thomson">
  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. <form>
  12. <textarea id="test_textarea"
  13. style="filter:DropShadow(offx=1, offy=1);"
  14. rows="8"
  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:DropShadow(offx=1, offy=1);" />
  23. </form>
  24. </body>
  25. </html>

Contents Haut

Exemple avec FlipH()

  1. <head>
  2. <title>filter:4()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Reply-to" content="rousseau.jean-jacques@gmail.com">
  5. <meta name="Copyright" content="Jean-Jacques Rousseau">
  6. <meta http-equiv="content-language" content="fr">
  7. </head>
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. <img
  10. style="filter:FlipH();"
  11. src="4Filter.jpg"
  12. align="center"
  13. width="89"
  14. height="108"
  15. alt="FlipH
  16. appliqu&eacute; &agrave; une image">
  17. <span style="width: 100%; filter:FlipH();">
  18. FlipH
  19. appliqu&eacute; &agrave; du texte
  20. </span>
  21. </body>
  22. </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. <head>
  4. <title>filter:5()</title>
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="wall.larry@infobrol.tk">
  8. <meta name="Publisher" content="Wall">
  9. <meta name="Copyright" content="Larry Wall">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 5px;
  14. padding: 1px;
  15. font-family: verdana;
  16. font-size: 8px;
  17. min-width: 743px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <img
  25. style="filter:FlipV();"
  26. src="5Filter.jpg"
  27. align="center"
  28. width="110"
  29. height="111"
  30. alt="FlipV
  31. appliqu&eacute; &agrave; une image">
  32. <span style="width: 100%; filter:FlipV();">
  33. FlipV
  34. appliqu&eacute; &agrave; du texte
  35. </span>
  36. </body>
  37. </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. <head>
  4. <title>filter:6()</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="Denis Diderot">
  8. <meta name="Copyright" content="Tycho Brahe">
  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: 13px;
  15. font-family: verdana;
  16. font-size: 15px;
  17. min-width: 739px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <div style="width: 100%; filter:Glow(color=#8470ff, strength=13);">
  27. Ceci est un texte avec Glow...
  28. </div>
  29. </body>
  30. </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="Publisher" content="Carl David">
  8. <meta name="Copyright" content="Anderson Carl David">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <div style="width: 100%; filter:Gray();">
  13. Ceci est un texte avec Gray...
  14. </div>
  15. </body>
  16. </html>

Contents Haut

Exemple avec Invert()

  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:8()</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="Appleton Edward">
  9. <meta name="Reply-to" content="jobs.steve@infobrol.com">
  10. <meta name="Publisher" content="Jobs">
  11. <meta name="Copyright" content="Steve Jobs">
  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. <div style="width: 100%; filter:Invert();">
  16. Ceci est un texte avec Invert...
  17. </div>
  18. </body>
  19. </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="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="nietzsche.friedrich@infobrol.biz">
  9. <meta name="Publisher" content="Nietzsche">
  10. <meta name="Copyright" content="Friedrich Nietzsche">
  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: 5px;
  16. padding: 1px;
  17. font-family: verdana;
  18. font-size: 8px;
  19. min-width: 743px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. width:100%;
  27. padding:9px;
  28. font-size:14pt;
  29. color:blue;
  30. filter:Mask(color=#8470ff)">
  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. </td>
  41. <td width="21%">
  42. &nbsp;
  43. </td>
  44. <td width="57%">
  45. The quick brown fox jumped over the lazy dog.
  46. The quick brown fox jumped over the lazy dog.
  47. </td>
  48. </tr>
  49. </table>
  50.  
  51. </body>
  52. </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 name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="bacon.francis@gmail.com">
  8. <meta name="Copyright" content="Francis Bacon">
  9. </head>
  10. <body>
  11. <h1>Exemple de filtre Shadow</h1>
  12. <div align="center">
  13. <img
  14. src="filter_10.gif"
  15. style="filter:Shadow(color=#DDBB99)"
  16. width="178"
  17. height="75"
  18. alt="Exemple de filtre 10"
  19. border="0">
  20. </div>
  21. </body>
  22. </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="carl@zeiss.info">
  9. <meta name="Publisher" content="Zeiss">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. </head>
  12. <body>
  13. width:100%;
  14. padding:19px;
  15. font-size:29pt;
  16. color:blue;
  17. filter:Wave(light=10, freq=17)">
  18. Exemples d'utilisation de filtres</p>
  19. </div>
  20.  
  21. <br />
  22. <br />
  23.  
  24. <tr valign="top">
  25. <td width="22%" height="218">
  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>

Contents 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 http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="Gerald Jay Sussman">
  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="alexander@fleming.net">
  11. <meta name="Publisher" content="Fleming">
  12. <meta name="Copyright" content="Alexander Fleming">
  13. <meta http-equiv="content-language" content="fr">
  14. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  15. </head>
  16. <body>
  17. <img
  18. style="filter:XRay();"
  19. src="12Filter.jpg"
  20. align="center"
  21. width="102"
  22. height="77"
  23. alt="XRay
  24. appliqu&eacute; &agrave; une image">
  25. <span style="width: 100%; filter:XRay();">
  26. XRay
  27. appliqu&eacute; &agrave; du texte
  28. </span>
  29. </body>
  30. </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.

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 27/02/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/html-filtres-rf-mask.html/xhtml-rf-tr.html/xhtml-rf-span.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Filtres : selfhtml (version 13/02/10)

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut