各个标签的用法
- abbr 缩写词,可以配合dfn元素定义术语
- area&map (map定义图像映射区域,area定义图像映射内部的区域)
- article (表示文档内容的一个独立块)
- aside (可以用于标记会话,与文档主要内容无关或关系不大的内容,位于web页面侧边)
- b (关键文字@粗体) Take a lemon and squeeze it with a juice.
- bdi* (定义文本的文本方向,使其脱离其周围文本的方向设置) The recommended restaurant is my Juice Cafe(At the Beach).
- bdo (定义文本显示的方向) The proposal is to write English , but in reverse order,"Juice" would become "Juice".
- cite 我最喜欢的电影是千与千寻
- code (计算机代码) 运行
- data* (为元素赋予机器可读的数据) 常年有售! 哈根达斯袖珍版
- details (用来隐藏或者显示与内容相关的附加信息)
- dfn (定义实例,通常来定义术语) the term organic foodrefers to food produced without synthetic chemicals.
- dialog (表示与页面其他部分略微相关的内容块)
- em (侧重点的强调,可嵌套使用,嵌套个数越多,强调级别越高) figure主要用来定义插图注解、图表、照片、代码列表等,通常会配合figcaption元素定义其标题或者说明:
- figure&figcaption
- hgroup (用来组合一个或多个标题元素,将它们在文档大纲中合并为一个元素)
- i (另一种叙述方式@斜体) Lemonade consists primarily of Citrus limon
- kbd (用户输入) Press Enter to continue.
- mark* (标记或高亮文本) Elderflower cordial,with one part cordial to ten parts water,stands apart from the rest.
- meta charset (定义web页面使用的字符集编码)
- meter* (用来标记一个标量测量范围) Keep the dough
- progress* (用来标记一个标量测量范围,除非存在已知最大值,否则将meter用作测量是不正确的) I am
- q (短引用,可以是某人的一句话) the judge said
- rel
- rel="prefetch"可以预先加载通过href引用的页面
- progress表示进度,可以使用在文件上传和表单填写等场,对提升用户体验有着非常大的帮助
- ruby (字符旁边的小注释,通常用来标记读音)
- s
- section (定义通用的文档或者应用程序节)
- small(法律文档等附属细则:小号字体) this artical is edited by liuxiaowan
- samp (计算机程序的输出) Unknown error -3
- sub (下标文本) Water is H2O.
- sup (上标文本) f(x,n)=log4xn
- time* (data标签的时间格式版本) iPhone7将于开售!
- u (标注@下划线) the mixture of apple juice and eldeflower juice is very pleasant.
- var (定义变量) if there are n fruit in the bowl,at least n/2 will be ripe
the GDO is a device that allows off-world teams to open the iris.
article表示文档内容的一个独立块
article实例
javac命令编译java文件
使用summary代替“详细信息”
The proposal is to write English , but in reverse order,"Juice" would become.
this is a headline
this is a sub-line
and this is a sub-section
you can drink water from the fish tankbut advised against it.
它可以和h1-h6一起使用来表示
文档结构
Menu