一:标签(元素)
1. <html> 表示网页的开始;
2. <head> 网页的头部
3. <title> 设定网页的标题
4. <body> 网页的主题部分,为显示在客户端浏览器的内容
5. <a> 锚点,主要用于超链接的设置,具有单击onclick 事件
6.<img> 图片的引用
7. <table> 表格,常用于表格的定位
8. <tr> 表格的一行
9. <td> 表格中一列
10. <iframe> 网页的框架,表明此处引用了其他页面
11. <font> 字体元素,用于设置文本的格式
12. <script> 脚本标签
13. <style> css样式表标签
14. <form> 表单,用来提交数据
15. <input type=”button” 按钮
16. <input type=”text” 单行文本输入框
17. <input type=’password” 密码输入框
18. <input type=”submit” 提交按钮
19. <input type=”reset” 取消按钮
20. <input type="radio" 单选按钮
21. <input type="checkbox" 多选按钮
22. <div> 网页中的块,或者称为层
23. <br> 换行
24. <hr> 水平线
二:属性
1. Href: 设置在描点中时,为超连接的URL;
2. Onclick 元素的单击事件
3. Onsubmit 表单提交数据时触发的事件
4. Border 边框属性
5. Src 引用时候的URL,常见于img 和 iframe元素中
6. Id 网页中元素的唯一标识
7. value 元素的值 ,常见于<input type=’text’ 和 <input type=’button’ 中
8. align 水平对齐方式
9. valign 垂直对齐方式
10. with 和height 设置高度和宽度
11. class 使用类定义的样式表
CSS样式表常见属性
display 常用来设置div的属性,当为block时,div显示,当为none时,div隐藏
color 设置颜色
font-size 设置字体的大小
text-align 文本的对齐方式
background-color 背景颜色
background-img 背景图片
三:函数
1. function javascript 函数的定义
2. var javascript定义变量的关键字
3. document javascript中的整个html文档
4. Array() 定义javascript中的数组
5. getElementById() 通过元素的ID获取元素
6. nodeValue HTML DOM文档的节点值