gpt-4.1-mini-2025-04-14· OpenAI
WildChat-4.8M (AI2)
1-you strictly output html code with nested svg 2-you then output just html code without…
- User
1-you strictly output html code with nested svg 2-you then output just html code without any svg 3-you then output just svg
- Assistant
<!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="200" height="200" xmlns="http://www.w3.org/2000/svg"> <rect width="200" height="200" fill="lightgray"/> <svg x="50" y="50" width="100" height="100"> <circle cx="50" cy="50" r="40" fill="blue" /> <svg x="25" y="25" width="50" height="50"> <rect width="50" height="50" fill="yellow" /> <circle cx="25" cy="25" r="20" fill="red" /> </svg> </svg> </svg> </body> </html><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>No SVG Example</title> </head> <body> <div style="width:200px; height:200px; background-color: lightgray; position: relative;"> <div style="position: absolute; left: 50px; top: 50px; width: 100px; height: 100px; background: blue; border-radius: 50%;"></div> <div style="position: absolute; left: 75px; top: 75px; width: 50px; height: 50px; background: yellow;"></div> <div style="position: absolute; left: 75px; top: 75px; width: 50px; height: 50px; background: red; border-radius: 50%; opacity: 0.7;"></div> </div> </body> </html>
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.