Question

Recently learnt HTML5 new tags and attributes. But how will i be able to use with Spring MVC. Till now all spring mvc jsp pages does not have support for HTML5.

For example if i want to use video/audio tags and attributes with spring MVC, how can i achieve it?

A simple example would be using placeholder attribute of html 5 with <form:input> tag of spring MVC. Would it be possible?

Was it helpful?

Solution

Spring doesn't care what tags you use in your jsp files. The browser does. Use a correct document type for HTML5 is all:

<!DOCTYPE html>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top