如何在Visual Studio 2008中实现HTML5或XHTML5 [英] how to implement HTML5 or XHTML5 in Visual Studio 2008

查看:105
本文介绍了如何在Visual Studio 2008中实现HTML5或XHTML5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是他们在Visual Studio 2008中实现HTML5或XHTML5的任何方式



因为我需要在HTML5功能中工作

is their any way to implement HTML5 or XHTML5 in Visual Studio 2008

as i require to work in HTML5 features

推荐答案

您可以在视图(.cshtml文件)上实现HTML5,就像任何其他版本的HTML一样
You can implement HTML5 onto the views (.cshtml files), just like any other version of HTML


HTML5与编辑器无关,而且所有内容都与做浏览器。毕竟HTML文件只是纯文本,所以VS并不关心你使用哪个版本(如果与HTML必须比较的HTML版本相比看起来不合适,它可能会产生警告或错误,但只要它确实是正确的,它将起作用)。它取决于浏览器实际上用它做什么。
HTML5 has nothing to do with the editor, and everything to do with the browser. An HTML file is just plain-text after all, so VS doesn''t really care which version you use (it might generate warnings or errors if something doesn''t look right compared to the versions of HTML it has to compare against, but as long as it actually is right it will work). It''s up to the browser to actually do something with it.


这篇关于如何在Visual Studio 2008中实现HTML5或XHTML5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆