×
×
正确
<p id="demo"></p>
<script>
@(47) = "Hello";
</script>
<p id="demo"></p>
<script>
document.getElementsByTagName("p")[0].innerHTML = "Hello";
</script>
<p id="demo"></p>
<script>
document.getElementsByTagName("p")[0].innerText = "Hello";
</script>
<p id="demo"></p>
<script>
document.getElementsByTagName('p')[0].innerHTML = "Hello";
</script>
<p id="demo"></p>
<script>
document.getElementsByTagName('p')[0].innerText = "Hello";
</script>
不正确
点击 此处 重试 正确
下一题 ❯<p id="demo"></p> <script>w3exercise_input_no_0= "Hello"; </script> |