Aller au contenu
  • Pas encore inscrit ?

    Pourquoi ne pas vous inscrire ? C'est simple, rapide et gratuit.
    Pour en savoir plus, lisez Les avantages de l'inscription... et la Charte de Zébulon.
    De plus, les messages que vous postez en tant qu'invité restent invisibles tant qu'un modérateur ne les a pas validés. Inscrivez-vous, ce sera un gain de temps pour tout le monde, vous, les helpeurs et les modérateurs ! :wink:

Log qui "purifie" les pages html...


Shibani06

Messages recommandés

ben essaies un truc drole, ecris un texte simple sous word (par exemple) et enregistres le en format HTML, ensuite regarde par notepad la tronche du fichier, pas triste....

remarque je viens de voir que sous XP il est possible d'enregistré en HTML filtré et,

en filtré :

<html>



<head>

<meta http-equiv=Content-Type content="text/html; charset=windows-1252">

<meta name=Generator content="Microsoft Word 10 (filtered)">

<title>Bonjour</title>



<style>

<!--

/* Style Definitions */

p.MsoNormal, li.MsoNormal, div.MsoNormal

{margin:0cm;

margin-bottom:.0001pt;

font-size:12.0pt;

font-family:"Times New Roman";}

@page Section1

{size:595.3pt 841.9pt;

margin:70.85pt 70.85pt 70.85pt 70.85pt;}

div.Section1

{page:Section1;}

-->

</style>



</head>



<body lang=FR>



<div class=Section1>



<p class=MsoNormal><b>Bonjour</b></p>



</div>



</body>



</html>

 

en normal :


<html xmlns:o="urn:schemas-microsoft-com:office:office"

xmlns:w="urn:schemas-microsoft-com:office:word"

xmlns="http://www.w3.org/TR/REC-html40">



<head>

<meta http-equiv=Content-Type content="text/html; charset=windows-1252">

<meta name=ProgId content=Word.Document>

<meta name=Generator content="Microsoft Word 10">

<meta name=Originator content="Microsoft Word 10">

<link rel=File-List href="Bonjour_fichiers/filelist.xml">

<title>Bonjour</title>

<!--[if gte mso 9]><xml>

<o:DocumentProperties>

 <o:Author>florent</o:Author>

 <o:LastAuthor>florent</o:LastAuthor>

 <o:Revision>1</o:Revision>

 <o:TotalTime>1</o:TotalTime>

 <o:Created>2002-09-19T16:06:00Z</o:Created>

 <o:LastSaved>2002-09-19T16:07:00Z</o:LastSaved>

 <o:Pages>1</o:Pages>

 <o:Words>1</o:Words>

 <o:Characters>7</o:Characters>

 <o:Lines>1</o:Lines>

 <o:Paragraphs>1</o:Paragraphs>

 <o:CharactersWithSpaces>7</o:CharactersWithSpaces>

 <o:Version>10.4219</o:Version>

</o:DocumentProperties>

</xml><![endif]--><!--[if gte mso 9]><xml>

<w:WordDocument>

 <w:GrammarState>Clean</w:GrammarState>

 <w:HyphenationZone>21</w:HyphenationZone>

 <w:Compatibility>

  <w:BreakWrappedTables/>

  <w:SnapToGridInCell/>

  <w:WrapTextWithPunct/>

  <w:UseAsianBreakRules/>

 </w:Compatibility>

 <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>

</w:WordDocument>

</xml><![endif]-->

<style>

<!--

/* Style Definitions */

p.MsoNormal, li.MsoNormal, div.MsoNormal

{mso-style-parent:"";

margin:0cm;

margin-bottom:.0001pt;

mso-pagination:widow-orphan;

font-size:12.0pt;

font-family:"Times New Roman";

mso-fareast-font-family:"Times New Roman";}

@page Section1

{size:595.3pt 841.9pt;

margin:70.85pt 70.85pt 70.85pt 70.85pt;

mso-header-margin:35.4pt;

mso-footer-margin:35.4pt;

mso-paper-source:0;}

div.Section1

{page:Section1;}

-->

</style>

<!--[if gte mso 10]>

<style>

/* Style Definitions */

table.MsoNormalTable

{mso-style-name:"Tableau Normal";

mso-tstyle-rowband-size:0;

mso-tstyle-colband-size:0;

mso-style-noshow:yes;

mso-style-parent:"";

mso-padding-alt:0cm 5.4pt 0cm 5.4pt;

mso-para-margin:0cm;

mso-para-margin-bottom:.0001pt;

mso-pagination:widow-orphan;

font-size:10.0pt;

font-family:"Times New Roman";}

</style>

<![endif]-->

</head>



<body lang=FR style='tab-interval:35.4pt'>



<div class=Section1>



<p class=MsoNormal><b>Bonjour<o:p></o:p></b></p>



</div>



</body>



</html>

Lien vers le commentaire
Partager sur d’autres sites

ben essaies un truc drole, ecris un texte simple sous word (par exemple) et enregistres le en format HTML, ensuite regarde par notepad la tronche du fichier, pas triste....

remarque je viens de voir que sous XP il est possible d'enregistré en HTML filtré  et,

en filtré :

<html>



<head>

<meta http-equiv=Content-Type content="text/html; charset=windows-1252">

<meta name=Generator content="Microsoft Word 10 (filtered)">

<title>Bonjour</title>



<style>

<!--

/* Style Definitions */

p.MsoNormal, li.MsoNormal, div.MsoNormal

{margin:0cm;

margin-bottom:.0001pt;

font-size:12.0pt;

font-family:"Times New Roman";}

@page Section1

{size:595.3pt 841.9pt;

margin:70.85pt 70.85pt 70.85pt 70.85pt;}

div.Section1

{page:Section1;}

-->

</style>



</head>



<body lang=FR>



<div class=Section1>



<p class=MsoNormal><b>Bonjour</b></p>



</div>



</body>



</html>

 

en normal :


<html xmlns:o="urn:schemas-microsoft-com:office:office"

xmlns:w="urn:schemas-microsoft-com:office:word"

xmlns="http://www.w3.org/TR/REC-html40">



<head>

<meta http-equiv=Content-Type content="text/html; charset=windows-1252">

<meta name=ProgId content=Word.Document>

<meta name=Generator content="Microsoft Word 10">

<meta name=Originator content="Microsoft Word 10">

<link rel=File-List href="Bonjour_fichiers/filelist.xml">

<title>Bonjour</title>

<!--[if gte mso 9]><xml>

<o:DocumentProperties>

 <o:Author>florent</o:Author>

 <o:LastAuthor>florent</o:LastAuthor>

 <o:Revision>1</o:Revision>

 <o:TotalTime>1</o:TotalTime>

 <o:Created>2002-09-19T16:06:00Z</o:Created>

 <o:LastSaved>2002-09-19T16:07:00Z</o:LastSaved>

 <o:Pages>1</o:Pages>

 <o:Words>1</o:Words>

 <o:Characters>7</o:Characters>

 <o:Lines>1</o:Lines>

 <o:Paragraphs>1</o:Paragraphs>

 <o:CharactersWithSpaces>7</o:CharactersWithSpaces>

 <o:Version>10.4219</o:Version>

</o:DocumentProperties>

</xml><![endif]--><!--[if gte mso 9]><xml>

<w:WordDocument>

 <w:GrammarState>Clean</w:GrammarState>

 <w:HyphenationZone>21</w:HyphenationZone>

 <w:Compatibility>

  <w:BreakWrappedTables/>

  <w:SnapToGridInCell/>

  <w:WrapTextWithPunct/>

  <w:UseAsianBreakRules/>

 </w:Compatibility>

 <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>

</w:WordDocument>

</xml><![endif]-->

<style>

<!--

/* Style Definitions */

p.MsoNormal, li.MsoNormal, div.MsoNormal

{mso-style-parent:"";

margin:0cm;

margin-bottom:.0001pt;

mso-pagination:widow-orphan;

font-size:12.0pt;

font-family:"Times New Roman";

mso-fareast-font-family:"Times New Roman";}

@page Section1

{size:595.3pt 841.9pt;

margin:70.85pt 70.85pt 70.85pt 70.85pt;

mso-header-margin:35.4pt;

mso-footer-margin:35.4pt;

mso-paper-source:0;}

div.Section1

{page:Section1;}

-->

</style>

<!--[if gte mso 10]>

<style>

/* Style Definitions */

table.MsoNormalTable

{mso-style-name:"Tableau Normal";

mso-tstyle-rowband-size:0;

mso-tstyle-colband-size:0;

mso-style-noshow:yes;

mso-style-parent:"";

mso-padding-alt:0cm 5.4pt 0cm 5.4pt;

mso-para-margin:0cm;

mso-para-margin-bottom:.0001pt;

mso-pagination:widow-orphan;

font-size:10.0pt;

font-family:"Times New Roman";}

</style>

<![endif]-->

</head>



<body lang=FR style='tab-interval:35.4pt'>



<div class=Section1>



<p class=MsoNormal><b>Bonjour<o:p></o:p></b></p>



</div>



</body>



</html>

 

Tout ça pour ça ?


<HTML>

<HEAD>

<TITLE>Bonjour</TITLE>

</HEAD>

<BODY>

<B>Bonjour</B><BR>

</BODY>

</HTML>

Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.
Remarque : votre message nécessitera l’approbation d’un modérateur avant de pouvoir être visible.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...