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 how to include an SVG graphic directly in HTML:
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> <!-- SVG: A simple red circle --> <svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Red circle"> <circle cx="50" cy="50" r="40" fill="red" /> </svg> </body> </html>This will display a red circle inside the webpage. You can customize the SVG shapes and attributes as needed. Let me know if you want a more complex SVG!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.