Core HTML

A Blank Page

Every HTML page contains boilerplate code that is reused for every HTML page. This code does not create anything that is displayed. However, it is a necessary container for the rest of the content. This basic code in this example is a text file called "Blank.html" that is shown below. Once this code is entered and the file is clicked on, the default browser will open the file and it will display a blank page, like the Output shown below.

Blank.html

<!DOCTYPE html>
<html>
  <head>
    <title>XoaX.net's HTML: Blank Page Example</title>
  </head>
  <body>
  </body>
</html>
 

Output

 
 

© 2007–2024 XoaX.net LLC. All rights reserved.