br renders incorrectly? - Post ID 303691

User 2901653 Photo


Registered User
4 posts

I am using version 16.1

Whenever I use the Insert Line Break button, or the keyboard shortcut SHIFT+ENTER, it adds <br>

Why doesn't it add <br /> ?

If I open the Add/Edit HTML Tag Markup window, it shows Element Start: <br />

But it adds it to the document as <br>

This is a very small niggle, but I'm curious if there is a way to change this behaviour or if that's just how it is?

Thanks!
User 122279 Photo


Senior Advisor
14,547 posts

In HTML <br> should be used. <br /> is for xhtml.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



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.