摘要:
<!--[if lt IE 9]> <script src="http://cdn.static.runoob.com/libs/html5shiv/3.7/html5shiv.min.js"></script> <![endif]--> <!--[if lt IE 9]> <script src= 阅读全文
posted @ 2017-02-24 17:25
2015熊出没
阅读(164)
评论(0)
推荐(0)
摘要:
HTML5 定了 8 个新的 HTML 语义(semantic) 元素。所有这些元素都是 块级 元素。 为了能让旧版本的浏览器正确显示这些元素,你可以设置 CSS 的 display 属性值为 block: 实例 header, section, footer, aside, nav, main, 阅读全文
posted @ 2017-02-24 17:23
2015熊出没
阅读(319)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>为 HTML 添加新元素</title> <script> document.createElement("myHero") </script> <style> myHero { 阅读全文
posted @ 2017-02-24 17:22
2015熊出没
阅读(145)
评论(0)
推荐(0)
摘要:
<!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <!--[if lt IE 9]> <script src="http://html5s 阅读全文
posted @ 2017-02-24 17:20
2015熊出没
阅读(77)
评论(0)
推荐(0)
摘要:
js字母大小写转换方法:1、转换成大写:toUpperCase()2、转换成小写:toLowerCase()3、举例: (1)var a="aBcD"; a=a.toUpperCase(); alert(a); 提示出来的就是 ABCD (2)var a="aBcD"; a=a.toLowerCas 阅读全文
posted @ 2017-02-24 14:14
2015熊出没
阅读(228)
评论(0)
推荐(0)
浙公网安备 33010602011771号