HTML是谁发明的?
Tim Berners-Lee 李爵士
HTML的起手式应该怎么写?
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>网页标题</title>
</head>
<body>
</body>
</html>
常用的表示章节的标签有哪些?分别表示什么含义?
- h1、h2、h3、h4、h5、h6 标题
- 章节 section
- 文章 article
- 段落 p
- 头部 header
- 脚部 footer
- 主要内容 main
- 旁支内容 aside
- 划分 div
全局属性有哪些
- class 给标签分类
- contenteditable 使任何元素变得可被编辑
- hidden 让一个元素不被看见
- id 给标签分类,不建议使用
- style
- tabindex
- title
常用的内容标签有哪些?分别表示什么含义?
- ol+li 有顺序的列表
- ul+li 无顺序的列表
- dl+dt+dd
- pre
- hr 水平分割线
- br 换行
- a
- em 强调
- strong 重要
- code
- quote
- blockquote