HTML表单操作方法=“POST”或method =“post”? [英] HTML form action method="POST" or method="post"?

查看:122
本文介绍了HTML表单操作方法=“POST”或method =“post”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< form> 操作方法中使用未捕获的post或大写的POST有什么区别?我只是想严格遵循W3C HTML规范。

Is there any difference in using non-capticalized "post" or capitalized "POST" in <form> action method? I just want to strictly follow W3C HTML specification.

尽管在现代浏览器中运行,但这并没有什么不同。

This is no difference when running in modern browsers, though.

推荐答案

w3c文档对于表单:

From the w3c docs for forms:


可能的(不区分大小写)值为get(默认值)和post。

Possible (case-insensitive) values are "get" (the default) and "post".

这篇关于HTML表单操作方法=“POST”或method =“post”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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