Filtre textarea()

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

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. <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="Reply-to" content="becquerel.antoinehenri@infobrol.com">
  6. <meta name="Publisher" content="Becquerel">
  7. <meta name="Copyright" content="Antoine Henri Becquerel">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <img
  12. style="filter:Alpha(opacity=14, finishopacity=0, style=2);"
  13. src="0Filter.jpg"
  14. align="center"
  15. width="112"
  16. height="96"
  17. alt="Alpha
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:Alpha(opacity=14, finishopacity=0, style=2);">
  20. Alpha
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </html>

Table des matières Haut

Exemple avec Blur()

  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:1()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Miguel de Unamuno">
  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="leibowitz.yeshayahou@infobrol.tk">
  11. <meta name="Copyright" content="Yeshayahou Leibowitz">
  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: 1px;
  18. font-family: verdana;
  19. font-size: 17px;
  20. min-width: 700px;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body bgcolor="#FFFFFF" text="#000000">
  27. <div style="width: 100%; filter:Blur(strength=5);">
  28. Ceci est un texte avec Blur...
  29. </div>
  30. </body>
  31. </html>

Table des matières Haut

Exemple avec Chroma()

  1. <head>
  2. <title>filter:2()</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="turing.alanmathison@infobrol.biz">
  8. <meta name="Publisher" content="Turing">
  9. <meta name="Copyright" content="Alan Mathison Turing">
  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: 1px;
  15. padding: 13px;
  16. font-family: verdana;
  17. font-size: 11px;
  18. min-width: 632px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <h1>Exemple de filtre Chroma</h1>
  28. width:100%; padding:6px; font-size:40pt; color:red;
  29. filter:2(color=#8470ff)">
  30. Application de Chroma(),
  31. texte avec Chroma
  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. </div>
  37. </body>
  38. </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. <head>
  4. <title>filter:3()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Author" lang="fr" content="Werner Koch">
  7. <meta name="Reply-to" content="johannes@kepler.info">
  8. <meta name="Copyright" content="Johannes Kepler">
  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: 1px;
  14. padding: 13px;
  15. font-family: verdana;
  16. font-size: 11px;
  17. min-width: 632px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <form>
  27. <textarea id="test_textarea"
  28. style="filter:DropShadow(color=#8470ff, offx=2, offy=2);"
  29. rows="6"
  30. cols="6">
  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. type="button"
  35. name="btn1"
  36. value="Test"
  37. style="filter:DropShadow(color=#8470ff, offx=2, offy=2);" />
  38. </form>
  39. </body>
  40. </html>

Table des matières Haut

Exemple avec FlipH()

  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:4()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Stephen Cole Kleene">
  8. <meta name="Reply-to" content="breguet.louis@infobrol.tk">
  9. <meta name="Publisher" content="Breguet">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <h1>Exemple de filtre FlipH</h1>
  13. <div align="center">
  14. <img
  15. src="filter_4.gif"
  16. style="filter:FlipH()"
  17. width="41"
  18. height="88"
  19. alt="Exemple de filtre 4"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Table des matières Haut

Exemple avec FlipV()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:5()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Author" lang="fr" content="George Berkeley">
  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="gene@amdahl.info">
  9. <meta name="Publisher" content="Amdahl">
  10. <meta name="Copyright" content="Gene Amdahl">
  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. <h1>Exemple de filtre FlipV</h1>
  16. <div align="center">
  17. <img
  18. src="filter_5.gif"
  19. style="filter:FlipV()"
  20. width="192"
  21. height="137"
  22. alt="Exemple de filtre 5"
  23. border="0">
  24. </div>
  25. </body>
  26. </html>

Table des matières 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 name="Reply-to" content="carldavid.anderson@gmail.com">
  7. <meta name="Publisher" content="Carl David">
  8. <meta name="Copyright" content="Anderson Carl David">
  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:Glow(strength=17, color=#fafad2);"
  15. rows="12"
  16. cols="11">
  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:Glow(strength=17, color=#fafad2);" />
  24. </form>
  25. </body>
  26. </html>

Table des matières Haut

Exemple avec Gray()

  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:7()</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="Reply-to" content="bacon.francis@infobrol.edu">
  10. <meta name="Publisher" content="Bacon">
  11. <meta name="Copyright" content="Francis Bacon">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body bgcolor="#FFFFFF" text="#000000">
  15. width:100%;
  16. padding:15px;
  17. font-size:25pt;
  18. color:blue;
  19. filter:Gray()">
  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. 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. </td>
  34. <td width="21%">
  35. &nbsp;
  36. </td>
  37. <td width="57%">
  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. </tr>
  44. </table>
  45.  
  46. </body>
  47. </html>

Table des matières Haut

Exemple avec Invert()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:8()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Author" lang="fr" content="Alexander Fleming">
  6. <meta name="Reply-to" content="abrikosov.alexei@gmail.com">
  7. <meta name="Copyright" content="Alexei Abrikosov">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <form>
  12. <textarea id="test_textarea"
  13. style="filter:Invert();"
  14. rows="18"
  15. cols="14">
  16. The quick brown fox jumped over the lazy dog.
  17. type="button"
  18. name="btn1"
  19. value="Test"
  20. style="filter:Invert();" />
  21. </form>
  22. </body>
  23. </html>

Table des matières Haut

Exemple avec Mask()

  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:9()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Copyright" content="Alexei Abrikosov">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 0px;
  14. padding: 1px;
  15. font-family: verdana;
  16. font-size: 17px;
  17. min-width: 700px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <h1>Exemple de filtre Mask</h1>
  25. <div align="center">
  26. <img
  27. src="filter_9.gif"
  28. style="filter:Mask(color=#fafad2)"
  29. width="165"
  30. height="137"
  31. alt="Exemple de filtre 9"
  32. border="0">
  33. </div>
  34. </body>
  35. </html>

Table des matières Haut

Exemple avec Shadow()

  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:10()</title>
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Copyright" content="Isaac Newton">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 0px;
  12. padding: 1px;
  13. font-family: verdana;
  14. font-size: 17px;
  15. min-width: 700px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. <h1>Exemple de filtre Shadow</h1>
  23. width:100%; padding:5px; font-size:50pt; color:red;
  24. filter:10(direction=180, color=#8470ff)">
  25. Application de Shadow(),
  26. texte avec Shadow
  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. </div>
  32. </body>
  33. </html>

Table des matières Haut

Exemple avec Wave()

  1. <head>
  2. <title>filter:11()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  5. <meta name="Copyright" content="Moshe ben Nahman">
  6. <meta http-equiv="content-language" content="fr">
  7. </head>
  8. <body>
  9. <h1>Exemple de filtre Wave</h1>
  10. width:100%; padding:11px; font-size:36pt; color:red;
  11. filter:11(light=40, freq=22)">
  12. Application de Wave(),
  13. texte avec Wave
  14. The quick brown fox jumped over the lazy dog.
  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. </div>
  19. </body>
  20. </html>

Table des matières 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 http-equiv="pragma" content="no-cache">
  5. <meta name="Author" lang="fr" content="Niels Bohr">
  6. <meta name="Reply-to" content="albert@einstein.info">
  7. <meta name="Copyright" content="Albert Einstein">
  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="81"
  16. height="170"
  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-all.html/xhtml-rf-span.html/xhtml-rf-textarea.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