HTML Example:
<!DOCTYPE html>
<html>
<title>HTML Tutorial</title>
<title>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
<html>
<title>HTML Tutorial</title>
<title>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
CSS Example:
body {
background-color: lightblue;
}
h1 {
color: white;
tex-align: center;
}
p {
font-family: verdana;
}
background-color: lightblue;
}
h1 {
color: white;
tex-align: center;
}
p {
font-family: verdana;
}
JavaScript Example:
<button onclick="myFunction()>"Click Me!</button>
<script>
function myFunction() {
let x = document.getElementById("demo");
x.style.fontSize = "25px";
x.style.color = "red";
}
</script>
<script>
function myFunction() {
let x = document.getElementById("demo");
x.style.fontSize = "25px";
x.style.color = "red";
}
</script>
Code Editor
With our online code editor, you can edit code and view the result in your browser
Write your code...