Of course! Here is an SVG drawing of a village house scene, embedded within a standard HTML page template.
The SVG code is commented to help you understand how each part of the scene is constructed. You can copy and paste the entire code block into an .html file and open it in your web browser.
Result
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SVG Village House</title>
<style>
body {
font-family: sans-serif;
background-color: #f0f0f0;
color: #333;
text-align: center;
padding: 20px;
}
.svg-container {
max-width: 800px;
margin: 20px auto;
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
background-color: #fff; /* White background behind the SVG canvas */
}
svg {
display: block;
width: 100%;
height: auto;
}
</style>
</head>
<body>
<h1>Village House Scene</h1>
<p>A vector drawing created with SVG, showing a house, a lake, a tree, and the sun.</p>
<div class="svg-container">
<svg width="800" height="600" viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
<!-- Background Elements -->
<g id="background">
<!-- Sky -->
<rect x="0" y="0" width="800" height="400" fill="#87CEEB" />
<!-- Ground -->
<rect x="0" y="400" width="800" height="200" fill="#228B22" />
</g>
<!-- Sun (on the left) -->
<g id="sun">
<circle cx="120" cy="120" r="50" fill="#FFD700" />
</g>
<!-- Lake (in front) -->
<g id="lake">
<ellipse cx="400" cy="520" rx="350" ry="100" fill="#4682B4" />
<!-- Water highlights -->
<path d="M 150 510 q 50 -10, 100 0 t 100 0" stroke="#B0C4DE" stroke-width="3" fill="none" />
<path d="M 450 530 q 60 -8, 120 0 t 110 5" stroke="#B0C4DE" stroke-width="2" fill="none" />
</g>
<!-- Village House (center) -->
<g id="house" transform="translate(0, -20)"> <!-- Moved up slightly -->
<!-- Main Building -->
<rect x="300" y="270" width="200" height="150" fill="#DEB887" stroke="#8B4513" stroke-width="2" />
<!-- Roof -->
<polygon points="280,270 520,270 400,190" fill="#A0522D" stroke="#8B4513" stroke-width="2" />
<!-- Door -->
<rect x="380" y="350" width="40" height="70" fill="#8B4513" />
<circle cx="410" cy="385" r="3" fill="#FFD700" /> <!-- Doorknob -->
<!-- Window -->
<g id="window">
<rect x="320" y="300" width="50" height="50" fill="#ADD8E6" stroke="#fff" stroke-width="2" />
<!-- Window Panes -->
<line x1="345" y1="300" x2="345" y2="350" stroke="#fff" stroke-width="2" />
<line x1="320" y1="325" x2="370" y2="325" stroke="#fff" stroke-width="2" />
</g>
</g>
<!-- Tree (to the right) -->
<g id="tree">
<!-- Trunk -->
<rect x="590" y="300" width="20" height="120" fill="#8B4513" />
<!-- Foliage / Leaves -->
<circle cx="600" cy="250" r="60" fill="#2E8B57" />
<circle cx="560" cy="280" r="50" fill="#2E8B57" />
<circle cx="640" cy="280" r="55" fill="#2E8B57" />
<circle cx="600" cy="300" r="50" fill="#2E8B57" />
</g>
</svg>
</div>
</body>
</html>