<!DOCTYPE html>
<html>
<title> HTML Tutorial </title>
<body>
<h1> This is Heading. </h1>
<p> This is paragraph. </p>
</body>
</html>
body {
background-color : lightgreen ;
}
h1 {
color : green ;
font-weight : bold ;
}
<button onclick="myFunction()">Click Me!</button>
<script>
function myFunction() {
let x = document.getElementById("demo");
x.style.fontSize = "25px";
x.style.color = "red";
}
</script>
Lorem ipsum dolor sit amet consectetur adipisicing elit.