28个你必须知道的HTML5新特性、技巧和技术
发布时间:2018-10-07 05:37:33  所属栏目:产品  来源:站长网 
            导读:1. 新的Doctype 尽管使用!DOCTYPE html,即使浏览器不懂这句话也会按照标准模式去渲染 2. Figure元素 用figure和figcaption来语义化地表示带标题的图片 figureimg src=path/to/image alt=About image /figcaptionpThis is an image of something interesti
                
                
                
            | 可以使用css的:before和:after来显示min和max的值 <input type="range" name="range" min="0" max="10" step="1" value="">
input[type=range]:before { content: attr(min); padding-right: 5px;
}
input[type=range]:after { content: attr(max); padding-left: 5px;}来源:http://adamlu.com/?p=584 英原文:http://net.tutsplus.com/tutorials/html-css-techniques/25-html5-features-tips-and-techniques-you-must-know/ (编辑:沈阳站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! | 



