开发者社区> 问答> 正文

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>

展开
收起
a123456678 2016-03-11 18:46:24 3793 0
1 条回答
写回答
取消 提交回答
  • index.html 有很多种可能性,比如URL重写,路由配置等等,找到对应的代码,善用编辑器的整个目录的代码搜索功能

    2019-07-17 18:59:54
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载