The world is quickly adopting to HTML 5.
Visual Studio 2010 was not built to embrace HTML 5. But if you installed Visual Studio 2010 in your system then you can quickly start working on HTML 5.
To configure your Visual Studio development settings to use the new standard do the following:
1. In Visual Studio 2010 go to Tools-->Options.
2. Go to Text Editor node in the left --> Choose HTML --> Choose Validation
3. In the target drop down menu choose HTML 5 and viola . You are ready to build HTML 5 based sites.
4. Now although when you add a new HTML page , you will see the old Doc Type tag in the page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5. But now you can have see the new tags of HTML 5 like footer , video , audio etc appearing on the page.
6. You will now get a set of CSS 3 features as well. Although you won't get all the CSS 3 features.
So , you can start working with HTML 5 with Visual Stdio 2010. To use all the features of HTML 5 and CSS 3 use VS2012/VS2013.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5. But now you can have see the new tags of HTML 5 like footer , video , audio etc appearing on the page.
6. You will now get a set of CSS 3 features as well. Although you won't get all the CSS 3 features.
So , you can start working with HTML 5 with Visual Stdio 2010. To use all the features of HTML 5 and CSS 3 use VS2012/VS2013.
No comments:
Post a Comment