<HTML>
<HEAD>
<TITLE>demo style global </TITLE>
<STYLE TYPE="text/css">
BODY {background-image:URL(image.jpg)}
P {text-align:justify}
.info {background:maroon;color:white}
STRONG {color:red}
</STYLE>
</HEAD>
<BODY>
<H1> Exemple de feuille de style globale </H1>
<P>
Voici un <STRONG>élément strong</STRONG> qui est inséré dans le texte.
<P>Voici un paragraphe dont le texte est justifié : pour visionner cette propriété, il faut bien sûr que le texte comporte plus de deux lignes, car dans le cas inverse, il semblera correspondre à un paragraphe ordinaire, sans justification... </P>
<SPAN CLASS="info">Portion de texte (SPAN) dont la classe est "info" </SPAN>
<P CLASS="info"> un element P avec un attribut class </P>
</BODY>
</HTML>
Pages: 1 2