Standard HTML Document

If you are learning to code HTML pages, or you already know how but just need a simple template, here you go.

Standard HTML5 Document Template Below:

<!DOCTYPE html>
 <html>
    <head>
       <title>Title of your web page</title>
       <meta name="description" content="Information Technology Services">
       <meta name="keywords" content="hardware, software, networking, router, programming">
       <meta name="author" content="Your_Name_Here">
       <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>

    <body>
       <h1>Some Heading</h1>
       <p>Some content</p>
    </body>
 
</html>

Note that this template is the default as specified by current HTML5 standards, but includes a few extra <meta>  tags in the <head> element.

These metadata elements are not absolutely necessary, but the description, keywords and author meta tags will help your web site rank higher in search engines, and conversely…lose rank if they are not present. They are providing the search engines basic descriptions about your website which in turn helps users looking for subjects your website contains.  The last <meta> tag “viewport” helps define your view port scaling dimensions in various browsers and is highly recommended.  The <meta> tags will not show up in the web document, so don’t worry – your users will not see them.  However search engines will parse the metadata, which again will help your SEO rank.

Who decides how web sites are coded?

The World Wide Web Consotium (or simply W3) is the organization that defines the standards on how web pages (web documents)  should be coded.  If you follow their guidelines, you will always have well-coded web documents.  The current standard is HTML5, coding recommendations may be reviewed here.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *