Wikini

RetourDeLigne

PagePrincipale :: DerniersChangements :: DerniersCommentaires :: ParametresUtilisateur :: Vous êtes ec2-54-210-224-114.compute-1.amazonaws.com
Pour le même texte entré :
Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1
Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2

Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3

Wakka génère le HTML suivant :
Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 <br />
Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 <br />
<br />
Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 <br />

Alors que C2 génère celui-çi :
Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1 Paragraphe 1
Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2 Paragraphe 2
<p></p>
Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3 Paragraphe 3

La différence tient dans le fait que les paragraphes 1 et 2 sont fusionnés sur C2, et distincts sur Wakka. -- EricSegui

Je ne trouve pas d'explication de la règle des "deux retours de ligne pour un paragraphe", sur c2.com.
Il est possible que cette règle réponde au problème de navigateurs (lesquels ?) qui n'effectuent pas le renvoi automatique à la ligne dans les formulaires. Dans ces navigateurs, le retour de ligne simple permet de formater le texte dans la fenêtre du formulaire et le double retour de ligne devient alors un vrai retour de ligne.

Au regard de ce que nous voyons, nous pouvons envisager 4 règles différentes pour la gestion des paragraphes :

En dehors de l'aspect intuitif, il y a lieu de ce poser la question, d'un point de vue technique et fonctionnel, sur l'utilisation des <br> ou des <p>.
Pour citer un commentaire dans un newsgroup : "<BR> is a funny old thing - neither quite structural nor wholly presentational (<HR> is similar). Certainly all
this flow behaviour has been thrown out into style-sheets in Strict". (à suivre...)

-- CharlesNepote


Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]