HTML & CSS Well-formed Markup Pages

HTML FUNDAMENTALS

Construct well-formed page markup

Doctype -tag This tag provides information to the browser on what kind of document to expect.
This tag is always the first tag in any HTML document.
(DOCTYPE is not case sensitive and can be written in multiple ways)
<!DOCTYPE html>
HTML element or tag - is the root of the HTML page and is considered a container for all other HTML content in an HTML page.  In other words, HTML holds all other tags and elements on a page.
<html>
</html>
Head element or tags - This is a container for metadata (Metadata - information about information). 
It is always located just above the body element.
You can find such other elements in the head such as title, and link tags.
<head>

</head>
Body - This element or tags define the body of an HTML page.
All HTML elements and tags will have to be defined inside the body's opening and closing tag.
Every HTML page should have the same basic structure and should include the following elements or tags.
Example:
<!doctype html>
<html lang="english">
       <head>
       </head>

       <body>
       </body>
</html>

Leave a Reply

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