摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>微博输入</title>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>微博输入</title>
<style type="text/css">
#box1{width: 600px;height: 190px;border: 10px solid pink;margin:0 auto;}
#box2{width: 600px;height: 35px;color: #888897;font-size: 14px;}
#box2 span{margin-left: 270px;}
#box2 img{width: 190px;height: 24px;margin-top: 6px;}
#box3 textarea{width: 550px;height: 100px;padding:10px;margin-left: 13px;}
#box4{font-size: 12px;}
#box4 span{width: 50px;height: 20px;display: inline-block;text-align: right;line-height: 20px;}
#box4 #span1{background: url(images/an5.png) no-repeat ;}
#box4 #span2{background: url(images/an4.png) no-repeat ;}
#box4 #span3{background: url(images/an3.png) no-repeat ;}
#box4 #span4{background: url(images/an2.png) no-repeat ;}
#box4 #span5{background: url(images/an1.png) no-repeat ;width: 60px;}
#box4 #span6{margin-left: 150px;}
#box4 #bt{margin-left: 20px;width: 80px;height: 25px;border: none;background-color: #FFC09F;color: #fff;border-radius: 5px;}
</style>
</head>
<body>
<div id="box1">
<div id="box2">
<img src="images/12.png">
<span>还可以输入</span><i>140</i>字
</div>
<div id="box3">
<textarea></textarea>
</div>
<div id="box4">
<span id="span1">表情</span>
<span id="span2">图片</span>
<span id="span3">视屏</span>
<span id="span4">话题</span>
<span id="span5">长微博</span>
<span id="span6">公开</span>
<input id="bt" type="submit" value="发布">
</div>
</div>
</body>
</html>都是涉及到html和css的基本知识