When I try to type <br> in my Dreamweaver (CS 5) code section, it automatically converts it to <br />. The same happens when I try to add <br> with Shift+Enter.
I have searched everywhere, but couldn't find an answer. Does anybody here have an idea?
Thank you for your help!
That's not HTML entities, it's XHTML tag formatting because the DOCTYPE of your page is set to an XTHML doctype.
To change the doctype to HTML4 or the newer HTML5
In DW, Modify > Page Properties > Title/Encoding then change Document Type ((DTD) via the dropdown.
John is right, I would just add that in your current doctype, <br /> is 100% correct and you should have absolutely nothing to worry about with it.
Is there a specific reason you want to see <br> insdtead of <br />?
<br> = HTML doc type
<br /> = XHTML doc type