按钮链接在歌剧中有效,但在mozila

时间:2018-10-06 15:09:33

标签: html forms button submit

我以前从事歌剧工作,但后来改成mozila,现在我想检查html文件中是否有任何错误,并发现应该将用户引导至另一个html文档中的注册表的按钮,以及他上方的Submit按钮不工作问题出在div内带有登录表单类的reg-button的按钮上。

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-  scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Definely not netflix</title>
    <link href="style.css" rel="stylesheet">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">

    <link href="https://fonts.googleapis.com/css?family=Shadows+Into+Light" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Dancing+Script:700" rel="stylesheet">
    <link rel="icon" href="./icon.png" />
</head>
<body class="body">
    <div class="loginform hide">

        <form action="/action_page.php" method="POST">
            Username: <input class="input-Lform" type="text" name="uname" />
            Password: <input class="input-Lform" type="password" name="password" />
            <br>
            <input class="input-Lform login-button" type="submit" value="Log in" />
            <p class="register">Dont have an account?</p>
            <button class="btn btn-default btn-sm"><a class="reg-button"href="Login/login.html">SIGN IN</a></button>
        </form>
    </div>
    </div>
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>

    <script src="jquery.js"></script>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>

    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.min.js" integrity="sha384-o+RDsa0aLu++PJvFqy8fFScvbHFLtbvScb8AjopnFD+iEQ7wo/CG0xlczd+2O/em" crossorigin="anonymous"></script>

    <script src="script.js"></script>  
</body>
</html>

0 个答案:

没有答案