当前位置: 代码迷 >> HTML/CSS >> html form action取值解决办法
  详细解决方案

html form action取值解决办法

热度:860   发布时间:2014-02-23 23:09:54.0
html form action取值
<form id="form_email" style="display: none;" action="?" method="post">
这里的style取值是什么意思,action的取值是什么意思。style="display:none;"
这个内联样式的意思是设置元素不显示
action="?"
action为相对地址,提交页面是“当前URL?”,如果为空就是“当前URL”style为样式,
比如height,width等
 style="display: none"就是显示方式为不显示,当然我觉得这句话没必要写。
action="?" 
action为表单提交的地址
一般的情况是
action="a.php";等等 
  相关解决方案