Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use HTML5 in a ASP.NET MVC project in Visual Studio 2010?

For now, I just want to use the <audio> and <video> tags and maybe try out the drag and drop features since these are supported by Firefox 3.6. The project will just be a test project, not necessarily for production.

like image 839
Gabe Avatar asked Feb 28 '23 15:02

Gabe


2 Answers

The big idea behind ASP.NET MVC is that you have total control over the generated HTML, so you just need to use the tags as you wish, no additional work required.

like image 173
Francisco Aquino Avatar answered Apr 06 '23 01:04

Francisco Aquino


I wanted a bit more control over the inputs and the ability to use postback on the controls, so I built a suite of HTML 5 Controls. It's got canvas and just about all of the new input types. As was said earlier, one big limitation is the browser your user brings to the site. The inputs will fail gracefully to Input Type="text".

like image 23
ja928 Avatar answered Apr 05 '23 23:04

ja928