- Html 是由英国的李爵士发明
- HTML 首先要写
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>我的网页</title>
</head>
<body>
</body>
</html>
- 常用的表章节的标签以及意思
标题 h1-h7
章节 section
文章 article
段落 p
头部 header
脚部 footer
主要内容 main
旁支内容 aside
划分 div
- 全局属性有以下这些
class
contenteditable
hidden
id
style
tabindex
title
-
常用的内容标签以及意思
a 超链接
ol+li 有序列表
ul+li 无序列表
dl+dt+dl 描述内容列表
pre 包裹时空白显示
quote 引用
blockquote 换行引用
em 语气的强调
strong 表示重要性
hr 分隔线
br 换行
code 包裹代码