HTML5快速上手之12:与表单(form)有关的基本指令

来源:互联网 发布:安装摄像头需要网络吗 编辑:程序博客网 时间:2024/09/21 09:24

1.代码:

<!DOCTYPE html><html><head><title>文档标题</title></head><body>此处为文本内容.......<!-- 以下是与表单(form)有关的指令 --><form action="demo_form.php" method="post/get"><input type="text" name="email" size="40" maxlength="50"><input type="password"><input type="checkbox" checked="checked"><input type="radio" checked="checked"><input type="submit" value="Send"><input type="reset"><input type="hidden"><select><option>苹果</option><option selected="selected">香蕉</option><option>樱桃</option></select><textarea name="comment" rows="60" cols="20"></textarea></form></body></html>

2.结果:


0 0
原创粉丝点击