猿问

action="index.html"是什么意思?

代码中有action="index.html",但是我不知道调用的是什么的是方法,又有什么作用


<form class="forget-form" action="index.html" method="post">

        <h3>忘记密码 ?</h3>

        <p>

            请输入您的电子邮箱地址来重置您的密码.

        </p>

        <div class="form-group">

            <div class="input-icon">

                <i class="fa fa-envelope"></i>

                <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="Email"

                       name="email"/>

            </div>

        </div>

        <div class="form-actions">

            <button type="button" id="back-btn" class="btn">

                <i class="m-icon-swapleft"></i> 返回

            </button>

            <button type="submit" class="btn blue pull-right">

                提交 <i class="m-icon-swapright m-icon-white"></i>

            </button>

        </div>

    </form>


喵喔喔
浏览 1277回答 4
4回答

慕桂英3389331

将表单的数据提交到index.html

largeQ

action属性用于指定表单数据提交的目的地...

月关宝盒

index.html 有很多种可能性,比如URL重写,路由配置等等,找到对应的代码,善用编辑器的整个目录的代码搜索功能
随时随地看视频慕课网APP

相关分类

Java
我要回答