html code for a website template code example

Example 1: html template

<!DOCTYPE>
<html>
  <head>
    <title>Title</title>
    
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="style.css">
  </head>
  
  <body>
    
  </body>
</html>

Example 2: basic html template

Basic Html Template:
<html>
  <head>
    <title>
    	/* document title here */
    </title>    
    /* document meta information and external file include written here */
  </head>
  <body>
  	/* document body goes here */
  </body>
</html>

Tags:

Html Example