发表于: 2016-03-23 21:03:29

1 1094


1、完成的事情:

今天比较忙,完成的事情不多,继续完成昨天的HTML实例的学习:

一、HTML表格实例

    (1)表格:<table border="1"><tr><td>100</td></tr></table>

    (2)带有标题的表格:<table><caption>title</caption>...

    (3)跨行或跨列的表格:<th colspan="2">...<th rowspan="2">...

    (4)表格内嵌标签:

    (5)单元格边距:<table border="1" cellpadding="10">

    (6)单元格间距:<table border="1" cellspacing="10">

     (7)向单元格添加背景颜色或图像:<table bgcolor="green">..background="..gif"

     (8)向表格单元添加背景颜色或图像

    (9)在表格单元中排列内容:<table width="100">...<th align="left">

    (10)框架属性:<table frame="box">

二、HTML列表实例

    (1)无序列表:<ul><li>...</li><li>...</li></ul>

     (2)有序列表:<ol><li>...

    (3)不同类型的无序列表:<ul type="disc">...

    (4)不同类型的有序列表:<ol type="a">

    (5)嵌套列表

    (6)定义列表:<dl><dt><dd>

三、HTML表单与输入实例

    (1)文本域text fields:<form> firstname <input type="text" name="firstname">

    (2)密码域:<form> password <input type="password" name="password">

    (3)复选框:<form> I love dog <input type="checkbox" name="dog">

    (4)单选按钮:<form><input type="radio" checked="checked" name="Sex" value="male">

    (5)下拉列表:<form><select name="cars"><option value="volvo">

    (6)文本域textarea:<textarea cols=" " rows=" ">

    (7)按钮:<form> <input type="botton" value="hello">

    (8)带标题的框:<form> <fieldset><legend>title</legend>....</fieldset>


明天的计划:

最近很忙,下班很累,有想休息的念头,但是只有继续坚持才能不断进步。明天继续完成剩下的实例学习。


返回列表 返回列表
评论

    分享到