HTML Editor
By Bob The Cow
Save
New Tab
Editor
Preview
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My Page</title> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 20px; background-color: #f5f5f5; } .container { max-width: 800px; margin: 0 auto; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } h1 { color: #333; } </style> </head> <body> <div class="container"> <h1>Welcome to My Page</h1> <p>This is a sample HTML document. Edit me!</p> </div> <script> console.log('Hello from JavaScript!'); </script> </body> </html>
Clear
Paste
Open
Help