alert(弹出消息对话框)的用法
1、 第一步:我们先创建一个HTML文件,结构如下图所示:<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> </head><body></body></html>

3、 第三步:再写第二句,或者说这是第二种写法:<script> alert('你好,2017'); alert("我很好"); </script>


1、 第一步:我们先创建一个HTML文件,结构如下图所示:<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> </head><body></body></html>
3、 第三步:再写第二句,或者说这是第二种写法:<script> alert('你好,2017'); alert("我很好"); </script>