Mon site web avec WORD

Fermé
gryzzly Messages postés 4608 Date d'inscription lundi 7 novembre 2005 Statut Contributeur Dernière intervention 24 octobre 2020 - 23 mai 2007 à 21:25
 patwag - 26 sept. 2008 à 11:30
Bonjour à tous,

Après une petite discussion sur un chat, je me suis dit que j'allais faire mon site avec WORD. C'est un logiciel que tout le monde (ou presque) à chez soit, il propose même un affichage en page web ! cool !

Alors voilà le resultat, pour une page ou le seul texte, sans mise en forme est :
" ceci est une page de test " :


Contemplez le travail! Un vrai travail de pro!

<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 11">
<meta name=Originator content="Microsoft Word 11">
<link rel=File-List
href="Ceci%20est%20une%20page%20de%20test_fichiers/filelist.xml">
<title>Ceci est une page de test</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>pas fou quand meme</o:Author>
  <o:LastAuthor>pas fou quand meme</o:LastAuthor>
  <o:Revision>1</o:Revision>
  <o:TotalTime>20</o:TotalTime>
  <o:Created>2007-05-23T18:54:00Z</o:Created>
  <o:LastSaved>2007-05-23T19:14:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>4</o:Words>
  <o:Characters>23</o:Characters>
  <o:Lines>1</o:Lines>
  <o:Paragraphs>1</o:Paragraphs>
  <o:CharactersWithSpaces>26</o:CharactersWithSpaces>
  <o:Version>11.8132</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:ActiveWritingStyle Lang="FR" VendorID="64" DLLVersion="131078" NLCheck="1">1</w:ActiveWritingStyle>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</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";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]-->
</head>

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

<div class=Section1>

<p class=MsoNormal>Ceci est une page de test.</p>

</div>

</body>

</html>


En plus, il passe presque au validateur du w3c ! Seulement 5 erreurs (sans parler du doctype...).
En plus, c'est joli, il me met plein de lignes que je comprend pas à quoi elle servent.

Maintenant que j'ai fait ma première page, vous m'expliquez comment je la met en ligne ?
A voir également:

22 réponses

remy76 Messages postés 904 Date d'inscription jeudi 11 janvier 2007 Statut Membre Dernière intervention 5 janvier 2013 195
22 mai 2008 à 21:06
Bien sur que rien ne vaut le bon vieux codages manuels. Frontpage, word, dreamwaver, webcreator,... sont surtout fais pour ceux qu'ils veulent faire un site complet et sympa en 5 mn sans à avoir beaucoup de connaissances en informatique. Leurs avantages se trouvent uniquement là !
0
Ca marche aussi en mettant juste :

Ceci est une page de test

dans un document texte, et en le renommant en HTML...


... OK, je sors...
0
Non, ne pars pas, on t'aime...
Même Bill t'aime.
Bon vent.
0