I use Visual Studio for teaching HTML. We use HTML 4.01 Transitional. Visual Studio defaults to XHTML 1.0, and I need to solve one problem with a typical difference among these two HTML standards: Whenever we enter <br>
or <hr>
, it is automagically changed to <br />
or <hr />
respectively. This is great for XHTML, but unwanted when working in HTML 4.01 mode.
So how to turn off this automagical feature? We use mainly Visual Studio 2010, and sometimes also 2012 and 2008.
(I know how to easily switch validation to HTMl 4.01 mode, but it still puts slashes to each <br>
, <hr>
etc.)