runoops.com

HTML 参考手册 第30页

HTML table cellspacing 属性

阅读(1219)

把表格单元格间距设置为 10 像素: 实例 Run this code » <table border="1" cellspacing="10"> <tr> <th>Month</th> &l...

HTML table cellpadding 属性

阅读(1440)

把表格单元边沿与单元内容之间的间距设置为 10 像素: 实例 Run this code » <table border="1" cellpadding="10"> <tr> <th>Month</...

HTML table border 属性

阅读(1592)

下面的 HTML 表格将显示围绕表格单元的边框: 实例 Run this code » <table border="1"> <tr> <th>Month</th> <th>Sav...

HTML table bgcolor 属性

阅读(1111)

带有背景颜色的 HTML 表格: 实例 Run this code » <table border="1" bgcolor="#00FF00"> <tr> <th>Month</th> <...

HTML table align 属性

阅读(1172)

一个右对齐的 HTML 表格: 实例 Run this code » <table border="1" align="right"> <tr> <th>Month</th> <th&g...

HTML style type 属性

阅读(1740)

在 <style> 标签中使用 type 属性: 实例 Run this code » <style type="text/css"> h1 {color:red;} p {color:blue;} </sty...

HTML style scoped 属性

阅读(1102)

使用 scope 属性描述 <div> 元素的样式: 实例 Run this code » <div> <style type="text/css" scoped> h1 {color:red;} p {...

HTML style media 属性

阅读(1266)

针对两种不同媒介类型(屏幕和打印)的两个不同的样式表: 实例 Run this code » <style type="text/css" media="print"> h1 {color:#000000;} p {color:...

HTML source srcset 属性

阅读(943)

在 <picture> 标签中使用 <source> 来设置不同屏幕显示的图片: 实例 Run this code » <picture> <source media="(min-width:650...

HTML source type 属性

阅读(959)

type 属性的使用: 实例 Run this code » <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="ho...