HTML Boilerplate

Basic HTML Code

The code for a simple HTML page is shown below. This is the HTML equivalent of a "Hello World!" program, but web designers can copy this code and use it as a skeleton for developing much more extensive web pages.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <title>Example Only</title>
   </head>
   <body>
      <p>This is only an example. For more information, see 
         <a href="http://www.ExampleOnly.com/">ExampleOnly.com</a>
      </p>
   </body>
</html>

(By the way, there is a real "Hello World!" example of the HTML 5 <canvas> tag also.)