Html5 but when press Shift+Enter in code view, get created a br / tag

WHEN I CREATE a new web page what choose if i want:
HTML 5 page
when press Shift+Enter in code view, get created a <br /> tag and NOT <br> tag...? now if choose html5 created <br> tag...

Are you manually selecting an HTML 5 document then?
If I have understood your question correctly, the link I posted should give you a workable answer. It basically changes the default <br> to <br /> whether it's an HTML doctype or XHTML doctype. http://www.alistapart.com/articles/dreamweaver/
Closing non–closing elements
XHTML requires you to close non–closing (“empty”) elements including form tags, image tags, horizontal rule tags and break tags. Closing these pesky elements can be one of the most time–consuming tasks in transitioning to XHTML. But you can modify Dreamweaver to do the work for you:
CLOSING THE LINEBREAK.HTM
Let’s start with the simple line break; we’ll change <br> to <br />.
First, find the file called LineBreak.htm in Configuration\Objects\Characters.
Create a backup of LineBreak.htm.
Open LineBreak.htm.
Edit line 17 so that <br> becomes <br />.
Save and close the file.
Open a new HTML document in Dreamweaver and insert a line break.
View Source to be sure it worked.

Similar Messages

Maybe you are looking for