Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.

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();">

Inhoudsopgave 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. <head>
  2. <title>filter:0()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Author" lang="fr" content="Ada Lovelace">
  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="rousseau.jean-jacques@infobrol.edu">
  9. <meta name="Publisher" content="Rousseau">
  10. <meta name="Copyright" content="Jean-Jacques Rousseau">
  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: 2px;
  16. padding: 20px;
  17. font-family: verdana;
  18. font-size: 10px;
  19. min-width: 787px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <img
  27. style="filter:Alpha(opacity=79, finishopacity=0, style=0);"
  28. src="0Filter.jpg"
  29. align="center"
  30. width="81"
  31. height="81"
  32. alt="Alpha
  33. appliqu&eacute; &agrave; une image">
  34. <span style="width: 100%; filter:Alpha(opacity=79, finishopacity=0, style=0);">
  35. Alpha
  36. appliqu&eacute; &agrave; du texte
  37. </span>
  38. </body>
  39. </html>

Inhoudsopgave 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 http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Denis Diderot">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="jean@bodin.info">
  10. <meta name="Copyright" content="Jean Bodin">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. width:100%;
  15. padding:5px;
  16. font-size:29pt;
  17. color:blue;
  18. filter:Blur(direction=315, strength=17)">
  19. Exemples d'utilisation de filtres</p>
  20. </div>
  21.  
  22. <br />
  23. <br />
  24.  
  25. <tr valign="top">
  26. <td width="22%" height="218">
  27. The quick brown fox jumped over the lazy dog.
  28. The quick brown fox jumped over the lazy dog.
  29. </td>
  30. <td width="21%">
  31. &nbsp;
  32. </td>
  33. <td width="57%">
  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>

Inhoudsopgave 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:2()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="charles@babbage.net">
  9. <meta name="Copyright" content="Charles Babbage">
  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: 2px;
  15. padding: 20px;
  16. font-family: verdana;
  17. font-size: 10px;
  18. min-width: 787px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <form>
  26. <textarea id="test_textarea"
  27. style="filter:Chroma(color=#cdc9a5);"
  28. rows="12"
  29. cols="3">
  30. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  31. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  32. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  33. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  34. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  35. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  36. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  37. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  38. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  39. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  40. Maecenas porttitor congue massa. Fusce posuere, magna sed
  41. pulvinar ultricies, purus lectus malesuada libero, sit amet
  42. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  43. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  44. tristique senectus et netus et malesuada fames ac turpis
  45. egestas. Proin pharetra nonummy pede.
  46. type="button"
  47. name="btn1"
  48. value="Test"
  49. style="filter:Chroma(color=#cdc9a5);" />
  50. </form>
  51. </body>
  52. </html>

Inhoudsopgave 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="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="plekhanov.georgui@infobrol.int">
  9. <meta name="Publisher" content="Plekhanov">
  10. <meta name="Copyright" content="Georgui Plekhanov">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body>
  14. width:100%;
  15. padding:11px;
  16. font-size:28pt;
  17. color:blue;
  18. filter:DropShadow(color=#cdc9a5, offx=4, offy=4)">
  19. Exemples d'utilisation de filtres</p>
  20. </div>
  21.  
  22. <br />
  23. <br />
  24.  
  25. <tr valign="top">
  26. <td width="22%" height="218">
  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. The quick brown fox jumped over the lazy dog.
  31. The quick brown fox jumped over the lazy dog.
  32. </td>
  33. <td width="21%">
  34. &nbsp;
  35. </td>
  36. <td width="57%">
  37. The quick brown fox jumped over the lazy dog.
  38. The quick brown fox jumped over the lazy dog.
  39. The quick brown fox jumped over the lazy dog.
  40. </td>
  41. </tr>
  42. </table>
  43.  
  44. </body>
  45. </html>

Inhoudsopgave Haut

Exemple avec FlipH()

  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:4()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Author" lang="fr" content="Alexei Abrikosov">
  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="victor@cousin.info">
  10. <meta name="Copyright" content="Victor Cousin">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13. </head>
  14. <body>
  15. <img
  16. style="filter:FlipH();"
  17. src="4Filter.jpg"
  18. align="center"
  19. width="117"
  20. height="97"
  21. alt="FlipH
  22. appliqu&eacute; &agrave; une image">
  23. <span style="width: 100%; filter:FlipH();">
  24. FlipH
  25. appliqu&eacute; &agrave; du texte
  26. </span>
  27. </body>
  28. </html>

Inhoudsopgave Haut

Exemple avec FlipV()

  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:5()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Nikola Tesla">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="knuth.donald@gmail.com">
  10. <meta name="Publisher" content="Knuth">
  11. <meta name="Copyright" content="Donald Knuth">
  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: 0px;
  17. padding: 16px;
  18. font-family: verdana;
  19. font-size: 9px;
  20. min-width: 631px;
  21. background:#FFFFFF;
  22. color:#000000;
  23. }
  24. </style>
  25.  
  26. </head>
  27.  
  28. <body>
  29. <img
  30. style="filter:FlipV();"
  31. src="5Filter.jpg"
  32. align="center"
  33. width="92"
  34. height="91"
  35. alt="FlipV
  36. appliqu&eacute; &agrave; une image">
  37. <span style="width: 100%; filter:FlipV();">
  38. FlipV
  39. appliqu&eacute; &agrave; du texte
  40. </span>
  41. </body>
  42. </html>

Inhoudsopgave Haut

Exemple avec Glow()

  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:6()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Jean Bernoulli">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="locke.john@gmail.com">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. </head>
  12. <body>
  13. <div style="width: 100%; filter:Glow(strength=3, color=#cdc9a5);">
  14. Ceci est un texte avec Glow...
  15. </div>
  16. </body>
  17. </html>

Inhoudsopgave 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. <head>
  4. <title>filter:7()</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="Werner Koch">
  8. <meta name="Reply-to" content="james@mill.net">
  9. <meta name="Publisher" content="Mill">
  10. <meta name="Copyright" content="James Mill">
  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: 0px;
  16. padding: 16px;
  17. font-family: verdana;
  18. font-size: 9px;
  19. min-width: 631px;
  20. background:#FFFFFF;
  21. color:#000000;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28. <img
  29. style="filter:Gray();"
  30. src="7Filter.jpg"
  31. align="center"
  32. width="76"
  33. height="81"
  34. alt="Gray
  35. appliqu&eacute; &agrave; une image">
  36. <span style="width: 100%; filter:Gray();">
  37. Gray
  38. appliqu&eacute; &agrave; du texte
  39. </span>
  40. </body>
  41. </html>

Inhoudsopgave 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="Publisher" content="Popov">
  8. <meta name="Copyright" content="Alexandre Popov">
  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: 20px;
  15. font-family: verdana;
  16. font-size: 10px;
  17. min-width: 787px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <div style="width: 100%; filter:Invert();">
  25. Ceci est un texte avec Invert...
  26. </div>
  27. </body>
  28. </html>

Inhoudsopgave Haut

Exemple avec Mask()

  1. <head>
  2. <title>filter:9()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Reply-to" content="nietzsche.friedrich@gmail.com">
  5. <meta name="Copyright" content="Friedrich Nietzsche">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7.  
  8. body {
  9. margin: 0px;
  10. padding: 16px;
  11. font-family: verdana;
  12. font-size: 9px;
  13. min-width: 631px;
  14. background:#FFFFFF;
  15. color:#000000;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body>
  22. <div style="width: 100%; filter:Mask(color=#cdc9a5);">
  23. Ceci est un texte avec Mask...
  24. </div>
  25. </body>
  26. </html>

Inhoudsopgave Haut

Exemple avec Shadow()

  1. <head>
  2. <title>filter:10()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="Roger Bacon">
  5. <meta name="Reply-to" content="louis@breguet.net">
  6. <meta name="Copyright" content="Louis Breguet">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body>
  10. <div style="width: 100%; filter:Shadow(color=#cdc9a5);">
  11. Ceci est un texte avec Shadow...
  12. </div>
  13. </body>
  14. </html>

Inhoudsopgave 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 name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="robertwilhelm@bunsen.org">
  7. <meta name="Copyright" content="Robert Wilhelm Bunsen">
  8. </head>
  9. <body>
  10. <h1>Exemple de filtre Wave</h1>
  11. width:100%; padding:10px; font-size:46pt; color:red;
  12. filter:11(light=68, freq=32)">
  13. Application de Wave(),
  14. texte avec Wave
  15. The quick brown fox jumped over the lazy dog.
  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. </div>
  20. </body>
  21. </html>

Inhoudsopgave 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="Anders Hejlsberg">
  7. <meta name="Reply-to" content="vonhumboldt.wilhelm@gmail.com">
  8. <meta name="Publisher" content="von Humboldt">
  9. <meta name="Copyright" content="Wilhelm von Humboldt">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre XRay</h1>
  14. <div align="center">
  15. <img
  16. src="filter_12.gif"
  17. style="filter:XRay()"
  18. width="102"
  19. height="92"
  20. alt="Exemple de filtre 12"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Inhoudsopgave 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.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 27/02/2003 gemaakt, de laatste keer de 26/10/2018 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/html-filtres-rf-all.html/xhtml-rf-span.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Filtres : selfhtml (version 13/02/10)

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut