Sunday, June 22, 2014

HTML - Essential page tags

The following code example shows the basic elements, from which you can begin to build your pages.
<!doctype html>
<html>
     <head>
         <meta charset=”UTF-8” />
         <title>Example document</title>
     </head>
     <body>
         <p>Example paragraph</p>
     </body>
</html>
The first line of all your pages should reference the document type as html, with the second line as the opening HTML tag. After the opening HTML tag, the head element contains what is referred to as the header content for the page, followed by the body content. That, in a nutshell, is the rudimentary structure of all HTML files

No comments: