index.html 1.19 KB
<!DOCTYPE html>
<html>
  <head>
    <title>CuBe!</title>
    <!--<script src="./app.js" type="text/javascript"></script>-->
  </head>
  <body>
      
    <script src="./app.js" type="text/javascript"></script>


        <a href="./join.html"><input type="button" value="회원가입"></a>
        
        <form action="/login" method="post">
            <table>
                <tr>
                    <td>ID : </td>
                    <td><input type="text" name="id"></td>
                </tr>
                <tr>
                    <td>비번 : </td>
                    <td><input type="password" name="password"></td>
                </tr>
                <tr>
                    <td><input type="submit" value="로그인"></td>
                </tr>
            </table>
        </form>
        
       <!--<button type="button" value="로그인" onclick="login()">홀롤롤로</button>
        <a href="./login"><button type="button" value="로그인">로그인</button></a>
        

        <div type ="text" id="pass">hi</div>
        <script>
            function login(){
                document.getElementById('pass').innerHTML = "not hi"
            }
        </script>
        -->
  </body>
</html>