Blogger Information
Blog 33
fans 0
comment 2
visits 37321
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
HTML5语义标签的兼容性
cxw的博客
Original
1419 people have browsed it

1,行级元素设置宽度的时候是失效的
2,行级元素转化为块级元素,display:block;
3,IE9部分支持H5语义标签,IE8完全不支持H5(原因IE8完全不认识语义标签,无法解析)解决办法
{
1:
/手动创建标签:默认语义的标签都是行级元素 display:block /
doucument.createElement(‘header’);
doucument.createElement(‘nav’);
doucument.createElement(‘article’);
doucument.createElement(‘footer’);
2:引入第三方插件 也可以实现IE8级IE8以下的兼容性

<script src="../js/html5shiv.min.js"></script>
}

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post