Why all major browsers not support HTML5 New Input

2019-09-09 04:33发布

I am learning HTML5. I saw that HTML5 new input types like color, date, datetime-local, range, number, month, etc. are not working in all browsers. Is their any reason for this?

And input type tel is also not working in any browser. How can I test it? I am using Windows 7. Is it working on Mac? I am learning from site W3 schools. One thing that the new coming versions of popular browsers will support this types or not?

Same thing happens for HTML5 new Form elements like datalist, keygen, output these 3 elements not supported by any versions of Internet Explorer.

Should we use these elements for our requirements or not?

标签: html5
2条回答
Animai°情兽
2楼-- · 2019-09-09 05:06

If you are building a web application you have to consider the compatibility of that application with all the currently prominent browsers as many people might be using the applications with their own personal choice of browsers.

Even if all these features are available in the latest browsers we will have to consider the browser compatibility issue.

查看更多
淡お忘
3楼-- · 2019-09-09 05:11

html5 is great, but as you say is not quite there. But not be discourage, embrace it, because is the next step in evolution for the markup. Right now there's options for cross browser issues, like modernizr, that gives you the opportunity of "Taking advantage of cool new web technologies ..., until you have to support browsers that lag behind"

查看更多
登录 后发表回答