<!doctype html>声明为全文 html 文档,每个文件都有头声明,类似exe,apk 有也声明 web page声明<!doctype html>。
html分为head and body
head 分为<meata> and <title>
meta charset 编码
title is web page the title only one have may
body:
html元素举例:
元素()={
h1=开始
/h1=结束
中间为内容
元素也可以有Attribute class is name
example : class=‘v'
}
元素中可以嵌入元素无限套
example => <p><a > </a></p>
有基础的元素:
p 段落 可理解为是一段带有空格的文字,即为书本上一段文字
h1 标题 h1-h6 只有这6种,7可使用为标题,带没有空格,即不为标题
a 超为本连接 href =name vualde =web address https://www.baidu.com
img scr =vuale is path png or is web address
<br/>换行符号
列表一种有序ol , 一种无序ul, li子项