Pages

Wednesday, February 29, 2012

Intro to HTML

HTML

  • HTML  stands for Hypertext Markup Language.
  • Hypertext is simply a piece of text that works as a link.
  • Markup Language is a language of writing Layout information within the document.
  • HTML is a plain text file, it contains rich text ie text with tags.
  • These tags are enclosed within angular brackets.
  • For example <html> is a start tag and </html> is a end tag.
  • Any tag mentioned with <> brackets denotes the start and </> denotes the end.

 Document Structure: -

An HTML document consist of three main parts

DOCTYPE declaration.

  • <head> section.
  • <body> section.

The basic structure would resemble as follow:

<!DOCTYPE....>
   <html>
      <head>
            <title> Google </title>
      </head>
            <body>
                    .......
            </body>
   </html>

No comments:

Post a Comment