你的位置:首页 > 软件开发 > 网页设计 > HTML5+Bootstrap 学习笔记 1

HTML5+Bootstrap 学习笔记 1

发布时间:2015-04-22 00:00:19
HTML <header> 标签<header> 标签定义文档的页眉(介绍信息),是 HTML 5 中的新标签。参考资料: HTML <header> 标签 http://www.w3school.com.cn/tags/tag_heade ...

HTML <header> 标签

<header> 标签定义文档的页眉(介绍信息),是 HTML 5 中的新标签。

参考资料: HTML <header> 标签 http://www.w3school.com.cn/tags/tag_header.asp


 

HTML5 Custom Data Attributes (data-*)

Thanks to HTML5, we now have the ability to embed custom data attributes on all HTML elements. These new custom data attributes consist of two parts:

Attribute Name: The data attribute name must be at least one character long and must be prefixed with 'data-'. It should not contain any uppercase letters.

Attribute ValueThe attribute value can be any string.

1 <ul id="vegetable-seeds">2  <li data-spacing="10cm" data-sowing-time="March to June">Carrots</li>3  <li data-spacing="30cm" data-sowing-time="February to March">Celery</li>4  <li data-spacing="3cm" data-sowing-time="March to September">Radishes</li>5 </ul>

原标题:HTML5+Bootstrap 学习笔记 1

关键词:HTML

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。