gpt-4.1-mini-2025-04-14· OpenAI
WildChat-4.8M (AI2)
generate svg in html
- User
generate svg in html
- Assistant
Sure! Here's a simple example of an SVG embedded directly within an HTML file. This SVG displays a red circle with a black border.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>SVG Example</title> </head> <body> <h1>Simple SVG Example</h1> <svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"> <!-- Draw a circle with center (100, 100), radius 80 --> <circle cx="100" cy="100" r="80" stroke="black" stroke-width="4" fill="red" /> </svg> </body> </html>You can save this as an
.htmlfile and open it in any modern web browser to see the SVG circle. If you want me to generate a different SVG graphic, just let me know!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.