편집 강령:
결과보기 »
그것을 자신을 시도 - ©
w3ii.com
<
!DOCTYPE
html
>
<
html
>
<
body
>
<
h1
>
JavaScript Expressions
<
/h1
>
<
p
>
Expressions compute to values.
<
/p
>
<
p
id
="demo"
>
<
/p
>
<
script
>
var
x =
5
;
document.getElementById(
"demo"
).innerHTML = x *
10
;
<
/script
>
<
/body
>
<
/html
>
<!DOCTYPE html> <html> <body> <h1>JavaScript Expressions</h1> <p>Expressions compute to values.</p> <p id="demo"></p> <script> var x = 5; document.getElementById("demo").innerHTML = x * 10; </script> </body> </html>