MozillaZine

Composer: very grateful <BR> survives

Composer, ChatZilla and other Mozilla applications, along with Netscape, Galeon, K-Meleon and other products.
johnbessa
 
Posts: 6
Joined: October 17th, 2012, 8:36 am

Post Posted November 18th, 2014, 9:18 am

I just want to say how grateful I am that the
Code: Select all
 <BR>
tag has not been replaced by the
Code: Select all
<P>
tag, that is to say, composer remains independent of corporate/academic compliance. I can show many, many examples of how "the people" want actual newlines and not "css hacks" to simulate them.

Seriously, thanks, SM Composer is still the best product in this original incarnation of on-line editing. It has been invaluable as a research too esp for pasting snippits of text from, say, googlebooks.

This is my blog on the topic: http://oddmuse.org/wiki/John_Bessa

Code: Select all
<html>
<head>

  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title></title>[url][/url]
</head>
<body>
   text line 1<br>
   text line 2<br>
</body>
</html>

WaltS48

User avatar
 
Posts: 3446
Joined: May 7th, 2010, 9:38 am
Location: Pennsylvania, USA

Post Posted November 19th, 2014, 12:41 pm

Well was <br> supposed to be replaced by the <p> element?

The br element forcibly breaks (ends) the current line of text, without starting a new paragraph.

br elements must be used only for line breaks that are actually part of the content, as in poems or addresses, but must not be used for separating thematic groups in a paragraph. For that you should use the paragraph element.

Any content inside br elements (i.e. attributes) must not be considered part of the surrounding text.


br · html · WPD · WebPlatform.org

But in Composer it does start a new paragraph!

The p (for paragraph) element (<p>) represents a paragraph.


p · html · WPD · WebPlatform.org

If you select "Paragraph" from the drop down in Composer you get;

Code: Select all
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<p>This is a test composition. I want to see what happens.<br>
</p>
<p>Now what?<br>
</p>
</body>
</html>


Now what if I'm not done with the first paragraph? Every time I press Enter it screws up my web page by creating new paragraph.
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5

Return to Other Applications and Distributions


Who is online

Users browsing this forum: No registered users and 2 guests