<!DOCTYPE html> <html> <head> <title>A Meaningful Page Title</title> <style> body {background-color: powderblue;} h1 {color: red;} p {color: blue;} </style> <link rel="stylesheet" href="mystyle.css"> <meta charset="UTF-8"> <meta name="description" content="Free Web tutorials"> <meta name="keywords" content="HTML, CSS, JavaScript"> <meta name="author" content="John Doe"> <script> function myFunction() { document.getElementById("demo").innerHTML = "Hello JavaScript!"; } </script> <base href="https://www.w3schools.com/" target="_blank"> </head> <body> The content of the document...... <body> <img src="images/stickman.gif" width="24" height="39" alt="Stickman"> <a href="tags/tag_base.asp">HTML base Tag</a> </body> </body> </html>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter