使用Firebug,为什么是第一行

我想查看其他人如何对他们的网站进行编码,但却试图理解这样做:
<html class="js flexBox flexBoxlegacy canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange
             history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius Boxshadow textshadow opacity
             cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent
             video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths"
      lang="en" style="">

这是什么目的,有人可以向我解释一下吗?

解决方法

因为他们使用的是 modernizr

Modernizr检测支持功能以及浏览器不支持功能.在响应它时附加不同的HTML元素类.然后可以编写哪些修复跨浏览器兼容性问题.

如< html>它是文档入口点或主容器,它为HTML标记添加了类.

Similar Question

相关文章

vue阻止冒泡事件 阻止点击事件的执行 &lt;div @click=&a...
尝试过使用网友说的API接口获取 找到的都是失效了 暂时就使用...
后台我拿的数据是这样的格式: [ {id:1 , parentId: 0, name:...
JAVA下载文件防重复点击,防止多次下载请求,Cookie方式快速简...
Mip是什么意思以及作用有哪些