题海让大学四年没有难题
白天模式登陆

题目详情

单选题 使用JavaScript向网页中输入<h1>hello</h1>,以下代码可行的是( )

A. <script type="text/javascript"> <h1>hello</h1> </script>

B. <script type="text/javascript"> document.write( " <h1>hello</h1>" ) ; </script>

C. <script type="text/javascript"> document.write( "hello" ) ; </script>

D. <script type="text/javascript"> document.write( <h1>hello</h1> ) ; </script>

Web标准网站设计课程封面

学科:Web标准网站设计

时间:2023-06-04 11:24:09

Copyright © 2022 津ICP备2021001502号