Understanding the building blocks of web development.
HTML (HyperText Markup Language) is the structure of web pages.
<!DOCTYPE html>
<html>
<head>
<title>My First Page</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is a paragraph.</p>
<a href="https://example.com">Visit Example</a>
</body>
</html>
CSS (Cascading Style Sheets) is used to style web pages.
body {
background-color: lightgray;
font-family: Arial, sans-serif;
}
h1 {
color: blue;
text-align: center;
}
p {
color: green;
font-size: 16px;
}
JavaScript is a programming language for dynamic and interactive web content.
Type your name and see it displayed below:
Combine HTML, CSS, and JavaScript to create a small interactive app.
Simple counter app:
Click the button to display a message: