HTML基础必看—表单,图片热点,网页划区和拼接详解

2020-04-16 21:53:16易采站长站整理

<input type="file" /><br /><br />  
<select size="1">  
<option value="11">可口可乐</option>  
<option value="22">雪碧</option>  
<option value="33" selected="selected">芬达</option>  
</select>  
</form>  
</body>  
</html>  

运行结果显示:

 

实例分析:做邮箱界面程序显示

XML/HTML Code复制内容到剪贴板

<!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=utf-8" />  
<title>无标题文档</title>  
</head>  
  
<body background="11.jpg">  
<font face="华文隶书">  
<table align="center" width="600" height="600" border="1" cellpadding="0" cellspacing="0">  
<tr>  
<td width="150">   邮箱:</td>  
<td><form><input type="text" /></form></td>  
</tr>  
<tr>  
<td></td>  
<td valign="middle"><font color="#999999">需要通过邮箱激活账户,不支持sohu,21cn,sogou的邮箱</font></td>  
  
</tr>  
<tr>  
<td>   登录用户名:</td>  
<td><form><input type="text" /></form></td>  
</tr>  
<tr>  
<td></td>  
<td valign="middle"><font color="#999999">仅在登录时使用,字符数不少于4个</font></td>  
</tr>  
<tr>  
<td>   显示名称:</td>  
<td><form><input type="text" /></form></td>  
</tr>  
<tr>  
<td></td>