Internal style sheets
Sun Nov 03 2024 05:36:53 GMT+0000 (Coordinated Universal Time)
Saved by
@login123
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Internal Style Sheet Example</title>
<style>
/* Internal CSS styles go here */
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 0;
}
h1 {
color: #333;
text-align: center;
padding: 20px;
}
p {
color: #666;
font-size: 18px;
line-height: 1.6;
margin: 20px;
}
.highlight {
color: #0056b3;
font-weight: bold;
}
#main-content {
padding: 40px;
background-color: #ffffff;
border: 1px solid #ddd;
max-width: 800px;
margin: 20px auto;
}
</style>
</head>
<body>
<div id="main-content">
<h1>Welcome to Internal CSS Styling</h1>
<p>This is an example of an internal style sheet.
<p class="highlight">This paragraph has additional styling with a specific class.</p>
</div>
</body>
</html>
content_copyCOPY
Comments