HTML Language is for building web pages
<!DOCTYPE html>
<html>
<title>HTML Tutorial</title>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
CSS Language is for styling web pages
body {
background-color: blue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: verdana;
font-size: 25px;
}
JavaScript Language is for programming web pages
<script>
function myFunction() {
var x = document.getElementById("demo");
x.style.fontSize = "30px";
x.style.color = "blue";
}
</script>
<button onclick="myFunction()">Click Here!</button>
Comments
Post a Comment