JS-01.html 

<html>
	<head>
		<title>JS-01</title>
	</head>

	<body>
		<text> JS的第一个代码</text>
		<script type="text/javascript">
		var msg = '杨桃是猪猪'
		alert(msg);
		</script>
	</body>
</html>

运行结果:

JavaScript_01——我的第一个JavaScript程序

相关文章:

  • 2021-12-13
  • 2021-10-13
  • 2021-08-05
  • 2021-10-18
  • 2021-11-05
  • 2021-11-05
  • 2021-08-12
  • 2021-10-01
猜你喜欢
  • 2021-09-14
  • 2022-01-07
  • 2021-07-16
  • 2021-12-06
  • 2021-12-03
相关资源
相似解决方案