gpt-4.1-mini-2025-04-14· OpenAI
WildChat-4.8M (AI2)
generate svg in html
- User
generate svg in html
- Assistant
Certainly! Here is a simple example of embedding SVG directly in HTML:
<!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" aria-label="A red circle with blue border"> <!-- A red circle with a blue stroke --> <circle cx="100" cy="100" r="80" fill="red" stroke="blue" stroke-width="5" /> </svg> </body> </html>You can save this as an
.htmlfile and open it in any modern browser to see a red circle with a blue border.
If you want me to create a more complex SVG or animate it, just ask!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →