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. <?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:0()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Author" lang="fr" content="Stephen Cole Kleene">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="albert@einstein.org">
  9. <meta name="Copyright" content="Albert Einstein">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. </head>
  13. <body>
  14. <img
  15. style="filter:Alpha(opacity=57, finishopacity=0, style=3);"
  16. src="0Filter.jpg"
  17. align="center"
  18. width="103"
  19. height="91"
  20. alt="Alpha
  21. appliqu&eacute; &agrave; une image">
  22. <span style="width: 100%; filter:Alpha(opacity=57, finishopacity=0, style=3);">
  23. Alpha
  24. appliqu&eacute; &agrave; du texte
  25. </span>
  26. </body>
  27. </html>

Table des matières Haut

Exemple avec Blur()

  1. <head>
  2. <title>filter:1()</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="Reply-to" content="alexandre@popov.info">
  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. <body bgcolor="#FFFFFF" text="#000000">
  12. width:100%;
  13. padding:12px;
  14. font-size:22pt;
  15. color:blue;
  16. filter:Blur(strength=9)">
  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. </td>
  35. </tr>
  36. </table>
  37.  
  38. </body>
  39. </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="Publisher" content="Morton">
  9. <meta name="Copyright" content="Andrew Morton">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. </head>
  13. <body>
  14. <form>
  15. <textarea id="test_textarea"
  16. style="filter:Chroma(color=#fafad2);"
  17. rows="2"
  18. cols="12">
  19. The quick brown fox jumped over the lazy dog.
  20. type="button"
  21. name="btn1"
  22. value="Test"
  23. style="filter:Chroma(color=#fafad2);" />
  24. </form>
  25. </body>
  26. </html>

Table des matières 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="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Copyright" content="James Gosling">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8.  
  9. body {
  10. margin: 5px;
  11. padding: 9px;
  12. font-family: verdana;
  13. font-size: 13px;
  14. min-width: 747px;
  15. background:#FFFFFF;
  16. color:#000000;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body>
  23. <img
  24. style="filter:DropShadow(color=#fafad2, offx=2, offy=3);"
  25. src="3Filter.jpg"
  26. align="center"
  27. width="118"
  28. height="103"
  29. alt="DropShadow
  30. appliqu&eacute; &agrave; une image">
  31. <span style="width: 100%; filter:DropShadow(color=#fafad2, offx=2, offy=3);">
  32. DropShadow
  33. appliqu&eacute; &agrave; du texte
  34. </span>
  35. </body>
  36. </html>

Table des matières 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:4()</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="mcnealy.scott@infobrol.int">
  10. <meta name="Copyright" content="Scott McNealy">
  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: 9px;
  17. font-family: verdana;
  18. font-size: 13px;
  19. min-width: 747px;
  20. background:#FFFFFF;
  21. color:#000000;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28. <h1>Exemple de filtre FlipH</h1>
  29. <div align="center">
  30. <img
  31. src="filter_4.gif"
  32. style="filter:FlipH()"
  33. width="41"
  34. height="62"
  35. alt="Exemple de filtre 4"
  36. border="0">
  37. </div>
  38. </body>
  39. </html>

Table des matières 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:5()</title>
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="Antoine Henri Becquerel">
  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="pitrat.jacques@infobrol.tk">
  11. <meta name="Publisher" content="Pitrat">
  12. <meta name="Copyright" content="Jacques Pitrat">
  13. <meta http-equiv="content-language" content="fr">
  14. </head>
  15. <body>
  16. <h1>Exemple de filtre FlipV</h1>
  17. <div align="center">
  18. <img
  19. src="filter_5.gif"
  20. style="filter:FlipV()"
  21. width="192"
  22. height="42"
  23. alt="Exemple de filtre 5"
  24. border="0">
  25. </div>
  26. </body>
  27. </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 http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="John Millar">
  8. <meta name="Copyright" content="James Mill">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <form>
  13. <textarea id="test_textarea"
  14. style="filter:Glow(color=#e0eee0);"
  15. rows="6"
  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(color=#e0eee0);" />
  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="pragma" content="no-cache">
  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="backus.john@infobrol.tk">
  10. <meta name="Copyright" content="John Backus">
  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: 18px;
  17. font-family: verdana;
  18. font-size: 17px;
  19. min-width: 689px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <img
  27. style="filter:Gray();"
  28. src="7Filter.jpg"
  29. align="center"
  30. width="108"
  31. height="111"
  32. alt="Gray
  33. appliqu&eacute; &agrave; une image">
  34. <span style="width: 100%; filter:Gray();">
  35. Gray
  36. appliqu&eacute; &agrave; du texte
  37. </span>
  38. </body>
  39. </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 http-equiv="pragma" content="no-cache">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="watt.james@gmail.com">
  10. <meta name="Publisher" content="Watt">
  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. width:100%;
  16. padding:12px;
  17. font-size:41pt;
  18. color:blue;
  19. filter:Invert()">
  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. </td>
  32. <td width="21%">
  33. &nbsp;
  34. </td>
  35. <td width="57%">
  36. The quick brown fox jumped over the lazy dog.
  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>

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. <head>
  4. <title>filter:9()</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="Max Weber">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="dechampeaux.guillaume@infobrol.com">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. </head>
  13. <body>
  14. <h1>Exemple de filtre Mask</h1>
  15. <div align="center">
  16. <img
  17. src="filter_9.gif"
  18. style="filter:Mask(color=#e0eee0)"
  19. width="134"
  20. height="130"
  21. alt="Exemple de filtre 9"
  22. border="0">
  23. </div>
  24. </body>
  25. </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. <head>
  4. <title>filter:10()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Author" lang="fr" content="Antoine Cournot">
  7. <meta name="Reply-to" content="plekhanov.georgui@infobrol.pro">
  8. <meta name="Copyright" content="Georgui Plekhanov">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <h1>Exemple de filtre Shadow</h1>
  12. width:100%; padding:3px; font-size:29pt; color:red;
  13. filter:10(direction=45, color=#fafad2)">
  14. Application de Shadow(),
  15. texte avec Shadow
  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. The quick brown fox jumped over the lazy dog.
  20. </div>
  21. </body>
  22. </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="Alexandre Popov">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  11. <meta name="Reply-to" content="machiavel.nicolas@infobrol.pro">
  12. <meta name="Publisher" content="Machiavel">
  13. <meta name="Copyright" content="Nicolas Machiavel">
  14. <meta http-equiv="content-language" content="fr">
  15. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  16.  
  17. body {
  18. margin: 5px;
  19. padding: 18px;
  20. font-family: verdana;
  21. font-size: 17px;
  22. min-width: 689px;
  23. }
  24. </style>
  25.  
  26. </head>
  27.  
  28. <body bgcolor="#FFFFFF" text="#000000">
  29. <h1>Exemple de filtre Wave</h1>
  30. <div align="center">
  31. <img
  32. src="filter_11.gif"
  33. style="filter:Wave(light=44, freq=26)"
  34. width="178"
  35. height="100"
  36. alt="Exemple de filtre 11"
  37. border="0">
  38. </div>
  39. </body>
  40. </html>

Table des matières Haut

Exemple avec XRay()

  1. <head>
  2. <title>filter:12()</title>
  3. <meta name="Description" content="Utilisation des filtres, Demo">
  4. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  5. <meta name="Reply-to" content="joule.jamesprescott@infobrol.tk">
  6. <meta name="Copyright" content="James Prescott Joule">
  7. </head>
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. <img
  10. style="filter:XRay();"
  11. src="12Filter.jpg"
  12. align="center"
  13. width="93"
  14. height="87"
  15. alt="XRay
  16. appliqu&eacute; &agrave; une image">
  17. <span style="width: 100%; filter:XRay();">
  18. XRay
  19. appliqu&eacute; &agrave; du texte
  20. </span>
  21. </body>
  22. </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-wave.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