TOOLSOnline code runner – preview Therewasa-WAY August 11, 2025 Comments0 HTML Code Editor HTML Code Editor <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <title>My Live Preview</title> <style> body { font-family: ‘Inter’, sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: #f3f4f6; color: #1f2937; } h1 { color: #3b82f6; /* Blue-500 */ } p { font-size: 1.125rem; /* text-lg */ } .card { background-color: white; padding: 2rem; border-radius: 0.75rem; /* rounded-xl */ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); text-align: center; } </style> </head> <body> <div class=”card”> <h1>Hello, world!</h1> <p>This is a live preview of your HTML code.</p> </div> </body> </html> Run Code Live Preview Share via: Facebook X (Twitter) LinkedIn More