什么是条目“action ='?”在HTML形式意味着什么? [英] What does an entry "action='?'" in html form mean?

查看:112
本文介绍了什么是条目“action ='?”在HTML形式意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在html文件中找到了一个条目

I have found an entry in html file

'<form action="?" ... '

我不明白它的作用。
Google搜索没有返回任何结果。其实它是一个Django模板文件,但我在django模板文档中找不到任何东西。

I do not understand what it does. Search in Google returned no results. Actually it is a Django template file, but I didn't find anything in django template documentation.

推荐答案

它使用当前网址和一个空的查询字符串作为表单的动作。一个查询字符串。 。含义根本没有查询字符串。查询字符串将不再。它不会被使用。它将会消失。提交表单后将不再有查询字符串。查询字符串将消失。消失了。走了。不要再多了。

It uses the current URL with an empty query string as the action of the form. An empty query string. Empty. Meaning no query string at all. The query string will be no more. It will not be used. It will be gone. There will be no more query string after submitting the form. The query string will have vanished. Disappeared. Gone away. Become no more.

这篇关于什么是条目“action ='?”在HTML形式意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆