开发者

No javascript support

开发者 https://www.devze.com 2023-02-08 18:09 出处:网络
Hi is there a way we can use HTML 5 features without using a javascript. Say for example I want to use开发者_运维知识库 the geolocation feature of HTML 5 but the user turned off it\'s javascript.You c

Hi is there a way we can use HTML 5 features without using a javascript. Say for example I want to use开发者_运维知识库 the geolocation feature of HTML 5 but the user turned off it's javascript.


You can't use JS when there is no JS.
If the specific thing you need requires only HTML tags - no problem


Geolocation is this: http://www.w3.org/TR/geolocation-API/

It's an API which means that it's meant to be used by a programming language - specifically JavaScript.

Note that Geolocation is not an HTML 5 feature.

And - to answer your question - no, you cannot use the Geolocation API without JavaScript (or some other programming language).

0

精彩评论

暂无评论...
验证码 换一张
取 消