Filtre body.()

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

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. <!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="Douglas Lenat">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Copyright" content="Haskell Curry">
  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. <img
  14. style="filter:Alpha(opacity=24, finishopacity=0, style=2);"
  15. src="0Filter.jpg"
  16. align="center"
  17. width="76"
  18. height="100"
  19. alt="Alpha
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:Alpha(opacity=24, finishopacity=0, style=2);">
  22. Alpha
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </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="Author" lang="fr" content="Jon Postel">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="hertz.gustavludwig@infobrol.com">
  8. <meta name="Copyright" content="Gustav Ludwig Hertz">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. width:100%;
  13. padding:18px;
  14. font-size:18pt;
  15. color:blue;
  16. filter:Blur(strength=3)">
  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. </td>
  27. <td width="21%">
  28. &nbsp;
  29. </td>
  30. <td width="57%">
  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. The quick brown fox jumped over the lazy dog.
  36. </td>
  37. </tr>
  38. </table>
  39.  
  40. </body>
  41. </html>

Table des matières 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="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="liskov.barbara@infobrol.pro">
  9. <meta name="Publisher" content="Liskov">
  10. <meta name="Copyright" content="Barbara Liskov">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. <h1>Exemple de filtre Chroma</h1>
  15. width:100%; padding:12px; font-size:23pt; color:red;
  16. filter:2(color=#8470ff)">
  17. Application de Chroma(),
  18. texte avec Chroma
  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. The quick brown fox jumped over the lazy dog.
  23. </div>
  24. </body>
  25. </html>

Table des matières 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 name="Reply-to" content="plekhanov.georgui@infobrol.com">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8.  
  9. body {
  10. margin: 3px;
  11. padding: 9px;
  12. font-family: verdana;
  13. font-size: 20px;
  14. min-width: 734px;
  15. }
  16. </style>
  17.  
  18. </head>
  19.  
  20. <body bgcolor="#FFFFFF" text="#000000">
  21. <h1>Exemple de filtre DropShadow</h1>
  22. width:100%; padding:10px; font-size:37pt; color:red;
  23. filter:3(color=#8470ff)">
  24. Application de DropShadow(),
  25. texte avec DropShadow
  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. </div>
  31. </body>
  32. </html>

Table des matières Haut

Exemple avec FlipH()

  1. <head>
  2. <title>filter:4()</title>
  3. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  4. <meta name="Reply-to" content="dechampeaux.guillaume@infobrol.int">
  5. <meta name="Copyright" content="Guillaume de Champeaux">
  6. </head>
  7. <body>
  8. <img
  9. style="filter:FlipH();"
  10. src="4Filter.jpg"
  11. align="center"
  12. width="116"
  13. height="96"
  14. alt="FlipH
  15. appliqu&eacute; &agrave; une image">
  16. <span style="width: 100%; filter:FlipH();">
  17. FlipH
  18. appliqu&eacute; &agrave; du texte
  19. </span>
  20. </body>
  21. </html>

Table des matières 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="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="hubble.edwin@infobrol.tk">
  9. <meta name="Copyright" content="Edwin Hubble">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <h1>Exemple de filtre FlipV</h1>
  13. <div align="center">
  14. <img
  15. src="filter_5.gif"
  16. style="filter:FlipV()"
  17. width="131"
  18. height="166"
  19. alt="Exemple de filtre 5"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Table des matières 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="Blaise Pascal">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="zimmerman.phil@infobrol.pro">
  10. <meta name="Copyright" content="Phil Zimmerman">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. width:100%;
  15. padding:18px;
  16. font-size:17pt;
  17. color:blue;
  18. filter:Glow(color=#8470ff, strength=10)">
  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. </td>
  29. <td width="21%">
  30. &nbsp;
  31. </td>
  32. <td width="57%">
  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>

Table des matières Haut

Exemple avec Gray()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:7()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Author" lang="fr" content="Sigmund Freud">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="constant.benjamin@infobrol.edu">
  8. <meta name="Copyright" content="Benjamin Constant">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <img
  13. style="filter:Gray();"
  14. src="7Filter.jpg"
  15. align="center"
  16. width="90"
  17. height="114"
  18. alt="Gray
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:Gray();">
  21. Gray
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </html>

Table des matières 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 name="Author" lang="fr" content="Jean Bernoulli">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Copyright" content="Jeremy Bentham">
  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: 3px;
  15. padding: 9px;
  16. font-family: verdana;
  17. font-size: 20px;
  18. min-width: 734px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <h1>Exemple de filtre Invert</h1>
  26. width:100%; padding:8px; font-size:24pt; color:red;
  27. filter:8()">
  28. Application de Invert(),
  29. texte avec Invert
  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. </div>
  35. </body>
  36. </html>

Table des matières Haut

Exemple avec Mask()

  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:9()</title>
  6. <meta name="Author" lang="fr" content="Sigmund Freud">
  7. <meta name="Reply-to" content="subramaniam.venkat@infobrol.biz">
  8. <meta name="Publisher" content="Subramaniam">
  9. <meta name="Copyright" content="Venkat Subramaniam">
  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. <div style="width: 100%; filter:Mask(color=#8470ff);">
  14. Ceci est un texte avec Mask...
  15. </div>
  16. </body>
  17. </html>

Table des matières 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="Author" lang="fr" content="Alessandro Volta">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Copyright" content="Denis Diderot">
  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: 9px;
  14. font-family: verdana;
  15. font-size: 20px;
  16. min-width: 734px;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body bgcolor="#FFFFFF" text="#000000">
  23. width:100%;
  24. padding:7px;
  25. font-size:12pt;
  26. color:blue;
  27. filter:Shadow(direction=0, color=#8470ff)">
  28. Exemples d'utilisation de filtres</p>
  29. </div>
  30.  
  31. <br />
  32. <br />
  33.  
  34. <tr valign="top">
  35. <td width="22%" height="218">
  36. The quick brown fox jumped over the lazy dog.
  37. The quick brown fox jumped over the lazy dog.
  38. </td>
  39. <td width="21%">
  40. &nbsp;
  41. </td>
  42. <td width="57%">
  43. The quick brown fox jumped over the lazy dog.
  44. The quick brown fox jumped over the lazy dog.
  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>

Table des matières 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 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="Friedrich Heinrich Jacobi">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="friedrich@engels.org">
  11. <meta name="Copyright" content="Friedrich Engels">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body bgcolor="#FFFFFF" text="#000000">
  15. width:100%;
  16. padding:3px;
  17. font-size:22pt;
  18. color:blue;
  19. filter:Wave(freq=29, light=73, phase=42, strength=6)">
  20. Exemples d'utilisation de filtres</p>
  21. </div>
  22.  
  23. <br />
  24. <br />
  25.  
  26. <tr valign="top">
  27. <td width="22%" height="218">
  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. </td>
  38. </tr>
  39. </table>
  40.  
  41. </body>
  42. </html>

Table des matières Haut

Exemple avec XRay()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:12()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Author" lang="fr" content="James Watt">
  6. <meta name="Copyright" content="Gene Amdahl">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  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="22"
  16. height="73"
  17. alt="Exemple de filtre 12"
  18. border="0">
  19. </div>
  20. </body>
  21. </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-blur.html/xhtml-rf-body.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