实例
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>客推荐系统</title> </head> <body> <form action="" method="post"> <table border="0" cellpadding="0" cellspacing="8" align="center" width="400" bgcolor="#b0e0e6"> <caption><h2>客推荐系统</h2></caption> <tr align="center"> <td align="right" width="100><label for="name">客姓名 :</label></td> <td align="left" width="300"><input type="text" id="name" name="name" value="" placeholder="输入姓名"></td> </tr> <tr align="center"> <td align="right" width="100><label for="dianhua">客电话 :</label></td> <td align="left" width="300"><input type="text" id="dianhua" name="name" value="" placeholder="输入客电话"></td> </tr> <tr align="center"> <td align="right">客性别 :</td> <td align="left"> <input type="radio" name="sex" value="male">男 <input type="radio" name="sex" value="female">女 </td> </tr> <tr align="center"> <td align="right"><label for="dizhi">配货商 :</label> </td> <td align="left"> <select name="dizhi" id="dizhi"> <option value="">城关配货商</option> <option value="">荣关配货商</option> <option value="">东关配货商</option> <option value="">北关配货商</option> </select> </td> </tr> <tr align="center"> <td align="right">购城市 :</td> <td align="left"> <input type="checkbox" name="dizhi[]" value="bj">北京 <input type="checkbox" name="dizhi[]" value="sh">上海 <input type="checkbox" name="dizhi[]" value="sh">深圳 </td> </tr> <tr> <td colspan="2" align="center"> <hr> <input type="submit" name="submit" value="确认提交"> </td> </tr> </table> </form> </body> </html>
运行实例 »
点击 "运行实例" 按钮查看在线实例