<br> instead of <br/> in Visual Studio

荒凉一梦 提交于 2019-12-05 10:42:05
Tools -> Options -> Text Editor -> HTML -> Formatting -> Tag Specific Options

You may define behavior for each individual tag. Hit CTRL + K + D to reformat the document and you should see the change.

Specific Tags

Alternative Method (All Tags)

Old question, but even more relevant today.

In Visual Studio 2015, Tools, Options:

Tool -> Options -> Text Editor -> HTML -> Format -> Tag Specific Options... -> Client HTML Tags -> br
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!