Line Break format - Post ID 200291

User 382038 Photo


Registered User
14 posts

HTML Editor 12.7 build 456. The line break format is <br> but I think it should be (and used to be) <br /> yes?
illegal-pete
User 382038 Photo


Registered User
14 posts

I take back my post. I see that one version is HTML, the other is XHTML. Should have looked it up first.
illegal-pete
User 2073552 Photo


Registered User
1,625 posts

That is ok. :P We have you covered... I pushed for the <br> because it is once again able to be used... So no need for the extra character / to be in there unless using XHTML. :P
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 2733 Photo


Ambassador
426 posts

SirAGE wrote:
I pushed for the <br> because it is once again able to be used...

Do tell, SirAGE. When was the <br> not able to be used?
Let's not get all hurt.
User 184085 Photo


Ambassador
1,707 posts

David Sellers wrote:
SirAGE wrote:
I pushed for the <br> because it is once again able to be used...

Do tell, SirAGE. When was the <br> not able to be used?


From 3:35pm on September 17, 2010, to the end of the business day on December 31, 2010.

:D
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 2073552 Photo


Registered User
1,625 posts

Differences Between HTML and XHTML

In HTML, the <br> tag has no end tag.

In XHTML, the <br> tag must be properly closed, like this: <br />

http://www.w3schools.com/tags/tag_br.asp

And the HTML Editor was set to the <br /> setting. It was then changed to only <br> in HTML documents and when working in an XHTML document it now inputs <br />

The br was never not able to be used. But in HTML Editor I would have to remove the / from it every time. :D
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 2200796 Photo


Registered User
45 posts

The editor really needs to keep track of whether the doctype is HTML4, XHTML1 or 1.1, or HTML5, or HTML5 in XHTML flavor. (Or other types like SVG or EPUB which require XHTML-like syntax.) The editor needs to track this, and be smart enough to format tags appropriately, whether <br /> or <meta /> or <img /> or <tag>...</tag>. *That* way, I, and others, wouldn't have to *add* the '/' or *delete* the '/', depending on whichever format we're working in. That way, *everyone's* life would be easier, and it's simpler for backward and forward compatibility.
http://www.shinyfiction.com/
Writing, Editing, Artwork, Audio, and soon Fonts

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.