Home > Web Front-end > H5 Tutorial > body text

百度搜索“2012世界末日”的效果是Javascript还是纯html5做出来的?

WBOY
Release: 2016-06-07 08:45:07
Original
1356 people have browsed it

回复内容:

楼主你还没有搞懂html5是什么东西吧,html5只是多了一些新标签,而这些新标签提供了新功能,然后这些新功能都是需要js编程去是实现的,比如说canvas吧,必须通过js去调用api去实现绘图,经过我的调查,百度是通过动态dom实现的,就是使用js不停的改变dom的样式属性,并没有涉及到html5,具体代码请看这里, s1.bdstatic.com/r/www/c 直接firebug之 javascript做的,用的是图片动画,图片地址 s1.bdstatic.com/r/www/c html 不管是4还是5,它只是一个标记语言,别忘记了根本。 js
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!