Introduction
HTML Editor in VS2005 - Part 1
This article is to cover the special features + tips in VS2005 HTML Editor. Designing an HTML page has become lot easier for the developer. Almost everything is available readymade to the developer.
1.Strictly XHTML
The Html need to be strictly XHTML compliant.
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
This line is automatically added to aspx pages and if the user wishes to use non-XHTML pages just removal of this line would do.
2. Easy Shift
In previous versions we used Shift+ F7 to switch between the Code and Design Mode. Now Shift+F7 is used to switch in HTML Design Mode to HTML Source Mode. Just F7 would transfer move aspx.cs page. Interestingly Alt+F7 gives a Tab control to select the Active Tool Windows.
( Cntrl + PageUp and Cntrl + PageDown is also used to switch between Design and Source of HTML)
3.Intellisense Everywhere
In the earlier versions HTML editor had very less intellisense, but in VS 2005 HTML editor one can find lots and lots of Intellisense.
4.Table with Templates
While inserting Template by Layout>Insert Table> , there is an option to either go by Custom Table by giving all the properties (width, height, columns,rows alignment), also there is an interesting option to select the Templates. Some of the Templates available are
- Header,Footer,Side, Header and Side, Header,Footer,Side, Horizontal Split, Vertical Split, Top Down Hierarchy
5. Inserting Sever Controls in HTML Source
The server controls can now be directly dropped in the source of the HTML page.Just select the server control and drop direclty in the location where the server
control is needed to be placed.
There are more features to be explored.
Regards
Umanath Selvan