资料参考来源:https://www.runoob.com/html/html-tutorial.html菜鸟教程
1.表格
单元格间距 在table属性 cellspacing
<h4>单元格间距="0":</h4>
<table border="1" cellspacing="0">
单元格跨行跨列问题
跨列 th的colspan属性
跨行 th的rowspan属性
2.列表
无序 ul li
有序 ol li
自定义 dl dt dd
表单
设置相同的name,则不能同时选中
都可以设置一个checked属性 默认选中
1.input标签
Image
定义图像形式的提交按钮。
必须把 src 属性 和 alt 属性 与 结合使用。
<input type="image" src="submit.gif" alt="Submit" />
2.文本格式
文本的对齐方式
文本排列属性是用来设置文本的水平对齐方式。
文本可居中或对齐到左或右,两端对齐.
当text-align设置为"justify",每一行被展开为宽度相等,左,右外边距是对齐(如杂志和报纸)。
文本修饰
text-decoration 属性用来设置或删除文本的装饰。
从设计的角度看 text-decoration属性主要是用来删除链接的下划线:
实例
a {text-decoration:none;} 无