<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Simple Web Page</title>
<!-- Link to an external CSS file (optional) -->
<link rel="stylesheet" href="styles.css">
<!-- Inline CSS (for demonstration purposes) -->
<style>
/* Add some basic styling to the body */
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 0;
}
/* Style the main heading */
h1 {
color: #333;
text-align: center;
padding: 20px;
}
/* Style the paragraph text */
p {
font-size: 16px;
line-height: 1.5;
margin: 0 20px;
}
</style>
</head>
<body>
<h1>Welcome to My Web Page</h1>
<p>This is a simple example of an HTML page with embedded CSS. Feel free to customize it further!</p>
</body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Simple Web Page</title>
<!-- Link to an external CSS file (optional) -->
<link rel="stylesheet" href="styles.css">
<!-- Inline CSS (for demonstration purposes) -->
<style>
/* Add some basic styling to the body */
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 0;
}
/* Style the main heading */
h1 {
color: #333;
text-align: center;
padding: 20px;
}
/* Style the paragraph text */
p {
font-size: 16px;
line-height: 1.5;
margin: 0 20px;
}
</style>
</head>
<body>
<h1>Welcome to My Web Page</h1>
<p>This is a simple example of an HTML page with embedded CSS. Feel free to customize it further!</p>
</body>
</html>