This webpage uses CSS syntax to style headings and paragraphs. The heading is blue and bigger. The paragraphs have readable text color and spacing. One paragraph has a yellow highlight background.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS Syntax Example</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 2rem;
}
h1 {
color: #2a7ae2;
font-size: 2.5rem;
margin-bottom: 1rem;
}
p {
color: #333333;
font-size: 1.125rem;
line-height: 1.5;
}
.highlight {
background-color: #fff3b0;
padding: 0.5rem;
border-radius: 0.25rem;
}
</style>
</head>
<body>
<h1>Welcome to CSS</h1>
<p>This is a simple paragraph styled with CSS.</p>
<p class="highlight">This paragraph has a highlighted background.</p>
</body>
</html>