日期:2014-05-16  浏览次数:20529 次

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";等等