HTML Viewer Code Editor: <!DOCTYPE html> <html> <head> <title>HTML Viewer</title> </head> <body> <h1 style="color: pink;">Hello, World!</h1> <p style="color: red;">This is a sample HTML code.</p> </body> </html> Copy HTML Update Preview <!DOCTYPE html> <html> <head> <title> HTML Viewer </title> </head> <body> <h1 style="color: green;">Welcome to the HTML Viewer</h1> <p style="color: white;">This is a sample HTML code.</p> </body> </html> Preview: