Files
ClassContent/历届学生/熊坤/2019-02-20/笔记.txt
2024-09-27 02:06:13 +08:00

41 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1: 一个html文件里面在最外层必须要包含 <html></html>
所有的代码都必须包含在这里面。
2body 可视区域一般需要在页面上显示给用户看的代码必须包含在body中
3head 一般放在head标签里面的内容是不想给用户看的给浏览器看完成一些浏览器的设置或者网站的默认设置
标签:
1meta元数据标签里面包含了很多一大堆的其他功能代码
<meta charset="UTF-8"/> 定义网站使用什么编码
参看网站https://blog.csdn.net/qq_16559905/article/details/51182085
2: h1 ~ h6 ,数字越小显示效果越大,数字越大显示效果越小
3: img 显示一个图片
4: <br/> 换行
5: ul li : 无序列表 一般开发过程中 ul 用的比较多
ol li : 有序列表
适用场景:一般用于做网站的导航菜单,新闻列表
标签学习地址http://www.runoob.com/tags/html-reference.html
下节课:
form表单
音频标签
textarea
等。。。。