JavaScript__01. Simple registration verification__01.js import.html

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <!--
            1. Inline write javascript code in the head tag
            type="text/javascript " You can omit
            <script type="text/javascript">//code</script>
            2.
                Add an attribute src="" to the inline style of the external chain. It
                is not allowed to write code inside the external chain tag
            When the browser parses the html file, it is parsed from top to bottom line by line
        -->
        <script type="text/javascript">
            //code
            //alert("xxx");//pop-up box
            /*var aa =1;
            alert(typeof(aa));
            aa="str";
            alert(typeof(aa));*/
            
            
        </script>
        <!--<script type="text/javascript" src="../js/demo.js">
        </script>-->
    </head>
    <body>
    </body>
</html>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325374192&siteId=291194637