html Copy code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Nested SVG Example</title>
</head>
<body>
<svg width="300" height="200" xmlns="http://www.w3.org/2000/svg">
<rect width="300" height="200" fill="#eee"/>
<svg x="50" y="30" width="200" height="140" viewBox="0 0 200 140" xmlns="http://www.w3.org/2000/svg">
<circle cx="100" cy="70" r="50" fill="orange" />
<text x="100" y="75" font-family="Arial" font-size="20" fill="white" text-anchor="middle" alignment-baseline="middle">Nested</text>
</svg>
</svg>
</body>
</html>
html Copy code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>HTML without SVG</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph, no SVG here.</p>
<div style="width:300px; height:200px; background-color: #eee; display: flex; justify-content: center; align-items: center;">
<span style="color: orange; font-weight: bold; font-family: Arial;">No SVG content</span>
</div>
</body>
</html>
svg Copy code
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
<rect width="200" height="200" fill="#f0f0f0"/>
<circle cx="100" cy="100" r="80" fill="cornflowerblue" />
<text x="100" y="110" font-family="Verdana" font-size="24" fill="white" text-anchor="middle">SVG</text>
</svg>
svg Copy code
<!-- Multiple SVGS with varieties in dimensions 1000-10000 -->
<svg width="1200" height="800" xmlns="http://www.w3.org/2000/svg">
<rect width="1200" height="800" fill="#dae"/>
<circle cx="600" cy="400" r="300" fill="#f77" />
<text x="600" y="420" font-family="Arial" font-size="48" fill="#222" text-anchor="middle">1200x800</text>
</svg>
<svg width="5000" height="3000" xmlns="http://www.w3.org/2000/svg">
<rect width="5000" height="3000" fill="#ede" />
<ellipse cx="2500" cy="1500" rx="1400" ry="900" fill="#7f7" />
<text x="2500" y="1550" font-family="Times New Roman" font-size="120" fill="#222" text-anchor="middle">5000x3000</text>
</svg>
<svg width="9999" height="10000" xmlns="http://www.w3.org/2000/svg">
<rect width="9999" height="10000" fill="#eef" />
<polygon points="5000,500 8000,9500 2000,9500" fill="#55a" />
<text x="5000" y="9800" font-family="Courier New" font-size="200" fill="#eef" text-anchor="middle">9999x10000</text>
</svg>
svg Copy code
<!-- Multiple Micro SVGs in range 1-100 -->
<svg width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<circle cx="5" cy="5" r="4" fill="#f44" />
</svg>
<svg width="25" height="15" xmlns="http://www.w3.org/2000/svg">
<rect width="25" height="15" fill="#4a4" />
</svg>
<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg">
<polygon points="25,0 50,50 0,50" fill="#44f" />
</svg>
<svg width="100" height="20" xmlns="http://www.w3.org/2000/svg">
<rect width="100" height="20" fill="#aa4" />
<text x="50" y="15" font-family="Arial" font-size="14" fill="#222" text-anchor="middle">100x20</text>
</svg>
<svg width="75" height="75" xmlns="http://www.w3.org/2000/svg">
<circle cx="37.5" cy="37.5" r="30" fill="#f4a" />
</svg>