重温HTML

1

<h1> </h1>标题标签
<p> </p>段落标签
<img src=“ ”>图片标签

2.

 <em><strong>标签是为了强调一段话中的关键字时使用,它们的语义是强调。

<span>标签是没有语义的,它的作用就是为了设置单独的样式用的。

3用css样式,为表格加入边框

<style type="text/css">

table tr td,th{border:1px solid #000;}

</style>

4 div

在网页制作过程过中,可以把一些独立的逻辑部分划分出来,放在一个<div>标签中,这个<div>标签的作用就相当于一个容器。

5 使用表单标签,与用户交互

<form    method="post"   action="save.php">
        <label for="username">用户名:</label>
        <input type="text" name="username" />
        <label for="pass">密码:</label>
        <input type="password" name="pass" />
</form>
posted @ 2016-06-21 16:49  Pace千雨  阅读(187)  评论(0编辑  收藏  举报