Problem with code - Post ID 185291

User 1101433 Photo


Registered User
5 posts

When I insert a break code <br> it used to come up as <br /> I've installed the new HTML editor 12.6 and now the break is coming up as <br> How do I change it (without having to change it manually every time I insert the code) back to <br />

I'm using Windows 7 and HTML Editor version 12.6 build 488

Thanks!

User 2287960 Photo


Ambassador
580 posts

I'm still on 12.5 which is <br />

What about Edit - Edit HTML Tag

Keith
User 476017 Photo


Ambassador
375 posts

Keith Jones wrote:
I'm still on 12.5 which is <br />

What about Edit - Edit HTML Tag

Keith


I get same problem using new update 12.6 build 448 inserting break code displays <br> instead of <br/>
Using XP SP3 and IE8
Dave Butler
Yorkshire
England

Old Rishworthians Rugby Union Football club http://www.orrufc.co.uk
Tuxedo Junction Yorkshire Function Band http://www.riley-tuxedojunction.co.uk
The Commons Guest House http://www.thecommons-guesthouse.co.uk
all created with Coffee Cup html editor
User 2073552 Photo


Registered User
1,625 posts

<br /> was deprecated after XHTML and <br> is now acceptable for HTML documents and HTML5.

This is a hard coded button in the program and can only be changed in the software. We can not set it.

If you want to use the <br /> you can find it in the code tab when clicking the <br /> it will insert the code you want. :D

Hope this helps.
"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 1948478 Photo


Senior Advisor
1,850 posts

<br> is standard for all HTML.
If you are using XHTML, and therefore must use <br />, the quickest way (for now) may be to go with the <br> and then do a "find-replace-all" to change all <br> to <br /> ;)
User 38401 Photo


Senior Advisor
10,951 posts

Yep agree with Per or you can do what I usually do. Copy and paste when I need them :)

It's going through a private discussion right now, but the consensus I've so far seen on it is that it will probably stay as <br>. Since HTML5 has allowed it to be that way and an HTML5 Doctype can now be used for any HTML type files (not sure why anyone wouldn't want to since it's totally backwards compatible with all older versions of HTML and XHTML code) then the <br> would work for you even if you're doing XHTML and 4.01 Strict, but we'll see when the discussion is over on it.
User 1101433 Photo


Registered User
5 posts

Thanks for the info!
User 476017 Photo


Ambassador
375 posts

Jo Ann wrote:
Yep agree with Per or you can do what I usually do. Copy and paste when I need them :)

It's going through a private discussion right now, but the consensus I've so far seen on it is that it will probably stay as <br>. Since HTML5 has allowed it to be that way and an HTML5 Doctype can now be used for any HTML type files (not sure why anyone wouldn't want to since it's totally backwards compatible with all older versions of HTML and XHTML code) then the <br> would work for you even if you're doing XHTML and 4.01 Strict, but we'll see when the discussion is over on it.


Hi Jo Ann
Not too bothered if its <br> or <br/>
Just an observation it had suddenly changed between versions and could not see an explanation why the change.
Dave
Dave Butler
Yorkshire
England

Old Rishworthians Rugby Union Football club http://www.orrufc.co.uk
Tuxedo Junction Yorkshire Function Band http://www.riley-tuxedojunction.co.uk
The Commons Guest House http://www.thecommons-guesthouse.co.uk
all created with Coffee Cup html editor
User 2073552 Photo


Registered User
1,625 posts

It changed because the W3C specifications have changed. :D It is deprecated and there for outdated. Thus CC changed it to the new code.
"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 38401 Photo


Senior Advisor
10,951 posts

It's not deprecated lol, it's just not used for all the different versions of HTML and the new HTML5 has made it unnecessary to need the closing slash if you use the HTML5 doctype. But it's not deprecated.

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.