HTML
The Language for Building Web Pages
LEARN HTML
HTML REFERENCE
<!DOCTYPE html>
<html>
<title>HTML Tutorial</title>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Try it Yourself
CSS
The Language for Styling Web Pages
LEARN CSS
CSS REFERENCE
body {
background-color: #d0e4fe;
}
h1 {
color: orange;
text-align: center;
}
p {
font-family: "Times New Roman";
font-size: 20px;
}
Try it Yourself
JS
The Language for Programming Web Pages
LEARN JS
JS REFERENCE
// Click the button to change the color of this paragraph
function myFunction() {
var x;
x = document.getElementById("demo");
x.style.fontSize = "25px";
x.style.color = "red";
}
Try it Yourself
W3.CSS
The Framework for Building Responsive Sites
LEARN W3.CSS
W3.CSS REFERENCE
<div class="w3-container w3-teal">
<h1>My Header</h1>
</div>
<img src="img_car.jpg" alt="Car" style="width:100%">
<div class="w3-container">
<p>A car is a wheeled, self-powered motor vehicle used for transportation.</p>
</div>
<div class="w3-container w3-teal">
<p>My Footer</p>
</div>
Try it Yourself