Introduction to HTML

introduction HTML

you can creat your own website with Html
In these tutorials you will learn everything about Html

What is HTML?

HTML is standard markup language for creating Web pages.
  • HTML stands for Hyper Text Markup Language
  • HTML describes the structure of Web pages using markup ..
  •  elements are the building blocks of HTML pages
  •  elements are represented by tags
  • HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
  • Browsers do not display the Html tags, but use them to render the content of the page 

  •  Simple HTML 

  • Example
  • <!DOCTYPE html>
  • <html>
    <head>
    <title>Page Title</title>
    </head>
    <body>
    <h1>My First Heading</h1>
    <p>My first paragraph.</p>
    </body>
    </html>

       Explained

  • The <!DOCTYPE html> declaration defines this document to be HTML
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the document
  • The <title> element specifies a title for the document
  • The <body> element contains the visible page content
  • The <h1> element defines  large heading it have 6 levels
  • The <p> element defines paragraph

<!DOCTYPE> Declaration

The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly.
It must only appear once, at the top of the page (before any HTML tags).
The <!DOCTYPE> declaration is not case sensitive.
The <!DOCTYPE> declaration for HTML is:

<!doctype html>