html表单标签看不懂

时间:2013.07.03 发布人:dsplp45zjmh3

html表单标签看不懂

已解决问题

谷歌dsplp45zjmh3用户在2013.07.03提交了关于“心动的信号html表单标签看不懂”的提问,欢迎大家涌跃发表自己的观点。目前共有1个回答,最后更新于2024-09-10T21:51:06。<formname="input"action="html_form_action.asp"method="get">
Username:
<inputtype="text"name="user"/>
<inputtype="submit"value="Submit"/>
</form>
name="input"能去掉吗?或是改成type="input"?

<formaction="/example/html/form_action.asp"method="get">
<p>Firstname:<inputtype="text"name="fname"/></p>
<p>Lastname:<inputtype="text"name="lname"/></p>
<inputtype="submit"value="Submit"/>
</form>
<p>请单击确认按钮,输入会发送到服务器上名为"form_action.asp"的页面。</p>

<formaction="/example/html/form_action.asp"method="get">能改成<formname="input"action="/example/html/form_action.asp"method="get">
还有example/html/form_action.asp前面那个斜杠好什么意思?

<formname="input"action="/html/html_form_action.asp"method="get">
Ih**eabike:
<inputtype="checkbox"name="vehicle"value="Bike"checked="checked"/>
html/html_form_action.asp为什么这里是h**TML,不是example呢?
checked="checked"这个是什么意思?希望大家能够帮助她。

详细问题描述及疑问:<formname="input"action="html_form_action.asp"method="get">
Username:
<inputtype="text"name="user"/>
<inputtype="submit"value="Submit"/>
</form>
name="input"能去掉吗?或是改成type="input"?

<formaction="/example/html/form_action.asp"method="get">
<p>Firstname:<inputtype="text"name="fname"/></p>
<p>Lastname:<inputtype="text"name="lname"/></p>
<inputtype="submit"value="Submit"/>
</form>
<p>请单击确认按钮,输入会发送到服务器上名为"form_action.asp"的页面。</p>

<formaction="/example/html/form_action.asp"method="get">能改成<formname="input"action="/example/html/form_action.asp"method="get">
还有example/html/form_action.asp前面那个斜杠好什么意思?

<formname="input"action="/html/html_form_action.asp"method="get">
Ih**eabike:
<inputtype="checkbox"name="vehicle"value="Bike"checked="checked"/>
html/html_form_action.asp为什么这里是h**TML,不是example呢?
checked="checked"这个是什么意思?期待您的答案,真心佩服你,谢谢 !

希望以下的回答,能够帮助你。

第1个回答

用户名:**92  

name="input"不能去掉,乙举当表单多的时候你可以添加判断,不能改成type="in来入此经士山略包础计put",type是他的类型,也就是文本框,复选框之内的!example/html/form_action.asp前面那个斜杠没什么意思,只是说明他在目录example下的html目录中!html/html_form_action.asp,这个可能是你这个表单的页面在example目录中,所以不需要前面的example,checked="checked"这个是默认被选中!