如题所述
1.新建网页文件。
2.在head里插入<style type="text/css"> #area { width:300px; height:20px; }</style>,表示设置输入文本框宽度为300像素,高度为20像素。
3.在body里插入<input type="text" id="area" />,表示定义一个输入文本框,启用area样式。
4.在IE里测试,查看效果。