HTML语言学习二

上一篇 / 下一篇  2012-11-28 15:59:44 / 个人分类:个人日志

11、绘制表格
<html>
<body>
<h4>一列:</h4>
<table border="1">
<tr>
<td>first</td>
<td>row</td>
</tr>
</table>
<h4>l两行两列:带粗边框</h4>
<table border="8">
<tr>
<td>first row</td>
<td>second row</td>
</tr>
<tr>
<td>first l</td>
<td>second l</td>
</tr>
</table>
</body>
</html>
12、一个无序列表
<html>
<boy>
<h4>一个无序列表</h4>
<ul>
<li>咖啡</li>
<li>茶</li>
</ul>
</body>
</html>
有序列表:<ul>改为<ol>
13、用户可以在文本域中写入文本。
<html>
<body>
<form>
名:
<input type="text" name="firstname">
<br />
姓:
<input type="text" name="lastname">
<form/>
</body>
</html>
注:用户和密码时
<input type="text" name="user">
<input type="password" name="password">
14、背景颜色
<body bgclocor="#d0d0d0">

TAG:

 

评分:0

我来说两句

我的栏目

日历

« 2024-05-06  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 1221
  • 日志数: 4
  • 建立时间: 2012-02-07
  • 更新时间: 2013-04-09

RSS订阅

Open Toolbar