<!DOCTYPE HTML>
<html>
<head><mefa charset="uft-8"></head>
<body>
<body align="center">
<h2>你好!!</h2>
<image src="photo/a.jpg">
<br/>
<table border="1px">
用户名:<input type="text"/>
<br/>
密 码:<input type="password"/>
<br/>
<input type="button" value="登录">
<input type="button" value="注册">
</table>
<table border="1" cellspacing="0" cellpadding="0">
<tr>
<td>用户名:<input type="text"/></td>
</tr>
<tr>
<td>密 码:<input type="password"/></td>
</tr>
</table>
</body>
</html>
标签语言是成对出现,有开始就一定要有结束。
br是换行,input是类型的text是输入文本框,input类型的pussword是密码框,input=putton按钮框,h1、h2、h3,是标题
table是表格,加了border才会显示表格的线条,table里面需要有tr,tr里面需要有td,th是td的加深版