摘要: 表单 form的action属性指定由谁来处理用户提交的表单 form的method属性指定使用哪种http方法将表单发送给服务器,有get和post两种,这两种最明显的区别就是get方法会将提交的数据整合到url里,而post不会这样,post的提交会随http消息的主体发送到服务器。 input 阅读全文
posted @ 2021-01-28 09:57 ice--cream 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 表格 最基本的表格: 有4个元素,table,tr,td table:定义表格 tr : table row,定义表格里面的行 th : table header cell ,定义表头单元格 td : table data cell,定义数据单元格 默认情况下,浏览器会对表头单元格(th)里面的内容 阅读全文
posted @ 2021-01-28 09:55 ice--cream 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 列表 无序列表: 使用ul元素定义,列表里的每一项使用li元素包裹 <!DOCTYPE> <html> <head> <meta charset="utf-8"> </head> <body> <ul> <li>haha</li> <li>xixi</li> <li>lala</li> </ul> 阅读全文
posted @ 2021-01-28 09:52 ice--cream 阅读(63) 评论(0) 推荐(0) 编辑