Sublime Text
<!DOCTYPE html> <html> <body> <p id="demo1"></p> <p id="demo2"></p> <p id="demo3"></p> <p id="demo4"></p> <script> var a = true; var b = false; var c = 6 > 2; var d = 6 > 10; document.getElementById("demo1").innerHTML = a; document.getElementById("demo2").innerHTML = b; document.getElementById("demo3").innerHTML = c; document.getElementById("demo4").innerHTML = d; </script> </body> </html>
<!DOCTYPE html> <html> <body> <p id="demo1"></p> <p id="demo2"></p> <p id="demo3"></p> <p id="demo4"></p> <script> var a = true; var b = false; var c = 6 > 2; var d = 6 > 10; document.getElementById("demo1").innerHTML = a; document.getElementById("demo2").innerHTML = b; document.getElementById("demo3").innerHTML = c; document.getElementById("demo4").innerHTML = d; </script> </body> </html>