2023-11-19php三小时学习的作业(日更失败,今日继续)
发布时间 2023-11-19 17:45:24作者: https_L
自律!!!
<html>
<head>
<title>留言板--第一个php项目</title>
<meta charset 'UTF-8' />
<style>
.add,.list{width: 800px;magin:0 auto;}
textarea{width: 100%;height: 100px;magin-bottom:10px;}
.username{float:left;}
.submit{float:right;text-align:center;}
.msg{border:solid 1px #cccccc;margin-top:10px;padding: 5px;}
</style>
</head>
<body>
<div class='add'>
<textarea></textarea>
<input class='username' type='text' />
<input class='submit' type='submit' value='提交'/>
<div sytle='clear:both;'></div>
</div>
<div class='list'>
<div class='msg'>
<p>用户名</p>
<p>用户内容</p>
</div>
<div class='msg'>
<p>用户名</p>
<p>用户内容</p>
</div>
<div class='msg'>
<p>用户名</p>
<p>用户内容</p>
</div>
</div>
</body>
</html>