第三种表达方式: 显示的效果:
学生信息
编号:
性别:
姓名:
年龄:
html源代码:
<body>
<p>学生信息</p>
<p>编号:
<input type="text" name="textfield" &#118alue="001">
</p>性别:
<input type="text" name="textfield2" &#118alue="男">
<p>姓名:
<input type="text" name="textfield3" &#118alue="张三">
</p>
<p>年龄:
<input type="text" name="textfield4" &#118alue="20">
</p>
<p>
<input type="submit" name="submit" &#118alue="submit">
<input type="submit" name="submit2" &#118alue="reset">
</p>
</body>
看了上面的这个例子,同志们有什么想法?
是不是感觉html越来越肥,通过源代码来找数据是不是越来越困难啦?
html本身存在很多的缺点,例如,内容和页面的排版、表现形式混在一起,过度的膨胀。数据库存储的信息,经过cgi,asp等的解释和转换为html格式后,信息原有的格式已变得面目全非。电子商务的逐渐流行,html本身的种种缺点却阻碍了他的发展。