Sunday 12 January 2014

A Complete HTML Guide And Tutorial For Beginner And Newbie Part 1


HTML or HyperText Markup Language is the main markup language for creating web pages and other information that can be displayed in a web browser.

Introduction To HTML

  • HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>), within the web page content. 
  • Here is an simple example :-

  1. <!DOCTYPE html> 
  2. <html> 
  3. <body> 
  4. <h1>This Is Your Heading</h1> 
  5. <p>This is your paragraph.</p> 
  6. </body> 
  7. </html>

LEARN ABOUT HTML TAG AND ELEMENTS

TAG

  • HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>), within the web page content. 
  • Tags are labels you use to mark up the beginning and end of an element.
  • All tags have the same format: they begin with a less-than sign "<" and end with a greater-than sign ">". opening tags: <html> and closing tags: </html>.
  1. <!DOCTYPE html> 
  2. <html> 
  3. <body> 
  4. This is my first web page 
  5. </body> 
  6. </html>
  • The first line on the top, <!DOCTYPE html>, is a document type declaration.
  • <html> is the opening tag that kicks things off and tells the browser that everything between that and the </html> closing tag is an HTML document.
  • Between <body> and </body> is the main content of the document that will appear in the browser window.

Element

  • Elements are the bits that make up web pages. You would say, for example, that everything that is in between (and includes) the <body> and </body> tags is the body element. As another example, whereas “<title>” and “</title>” are tags, “<title>WWW>BLOGWRITTER.COM</title>” is a title element.





No comments :

Post a Comment