学习html的小测试!!!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>测试死循环</title>
</head>
<body>
<p>
username:<input type="text" name="username" style="color:#CCCCCC" value="请输入用户名" οnfοcus="if(this.value=='请输入用户名'){this.value='';this.style.color='#424242'}" οnblur="if(this.value==''){this.value='请输入用户名';this.style.color='#999'}">
<p>
password:<input type="password" name="username">
<p>
<input type="submit">
<br>
<!-- 超链接 打电话 协议限定符-->
<a href="www.baidu.com"> 给链接到百度</a>
<a href="tel:156xxxxxxxxx"> 给我打电话</a>
<a href="mailto:xxxxxxxxxx@qq.com"> 给我发邮箱</a>
<a href="javascript:while(1){alert('让你手欠')}"> 点我试试</a>
</body>
</html>