Sure! Below is a complete HTML page containing a beautiful SVG illustration of a village house, with:
- A lake in front of it,
- A tree on the right,
- The sun in the sky on the left.
You can copy and paste this code into an .html file and open it in your browser to view the SVG artwork.
🌄 Full HTML + SVG Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Village House Scene</title>
<style>
body {
margin: 0;
background-color: #e0f7fa;
font-family: sans-serif;
}
svg {
display: block;
margin: auto;
background: linear-gradient(to top, #a2d4f2 0%, #e0f7fa 100%);
}
</style>
</head>
<body>
<svg width="100%" height="100vh" viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
<!-- Sky Background -->
<rect width="800" height="600" fill="skyblue" />
<!-- Sun -->
<circle cx="100" cy="100" r="50" fill="yellow" stroke="orange" stroke-width="4" />
<!-- Mountains -->
<polygon points="0,400 100,250 200,400" fill="#b0c4de" />
<polygon points="100,400 250,200 400,400" fill="#a9cde8" />
<polygon points="300,400 450,230 600,400" fill="#b0c4de" />
<polygon points="500,400 650,220 800,400" fill="#a9cde8" />
<!-- Lake -->
<ellipse cx="400" cy="500" rx="300" ry="70" fill="#4fc3f7" stroke="#0288d1" stroke-width="2" opacity="0.8" />
<!-- House Base -->
<rect x="300" y="330" width="200" height="120" fill="#ffe0b2" stroke="#a1887f" stroke-width="2" />
<!-- Roof -->
<polygon points="280,330 400,250 520,330" fill="#d84315" stroke="#bf360c" stroke-width="2" />
<!-- Door -->
<rect x="375" y="390" width="50" height="60" fill="#6d4c41" stroke="#3e2723" stroke-width="2" />
<!-- Windows -->
<rect x="320" y="360" width="40" height="30" fill="#bbdefb" stroke="#1976d2" stroke-width="2" />
<rect x="440" y="360" width="40" height="30" fill="#bbdefb" stroke="#1976d2" stroke-width="2" />
<!-- Tree Trunk -->
<rect x="550" y="330" width="20" height="90" fill="#8d6e63" />
<!-- Tree Leaves -->
<circle cx="560" cy="310" r="30" fill="#388e3c" />
<circle cx="540" cy="290" r="30" fill="#43a047" />
<circle cx="580" cy="290" r="30" fill="#43a047" />
<circle cx="560" cy="270" r="30" fill="#2e7d32" />
<!-- Grass Ground -->
<rect y="450" width="800" height="150" fill="#81c784" />
<!-- House Reflection (in lake) -->
<rect x="300" y="500" width="200" height="60" fill="#ffd180" opacity="0.4" />
<polygon points="280,500 400,450 520,500" fill="#ff8a65" opacity="0.4" />
</svg>
</body>
</html>
🖼️ Scene Features Summary:
- Sky filled with light blue.
- Sun in the top-left corner.
- Mountains in the background.
- A cozy village house with:
- A red sloped roof,
- Two blue windows,
- A wooden door.
- Lake reflecting the house.
- Tree with layered green foliage on the right side of the house.
- Grassy field at the bottom.
Let me know if you want animations, different colors, or to add animals or clouds! 🌤️🌳🏡💧