HTML Basic Introduction

HTML 

  • It consist different tags 
  • usually consist of a start tag and an end tag, with content inserted in between
  • Html tag is not case sensitive; can be upper or lower case
  • all documents should start with <html>
example of tag:

H1 or h1 
  • Heading of the blog or document
  • with fix standard font size
  • sizes : h1 to h6
  • <h1>____</h1>
P or p
  • first paragraph
  • <p>____</p>
BR or br
  • single line break
  • <br> for enter space

<!--...-->
  • defines comment
  • gray color text for guidelines of tag's function


HTML Parent  Hierarchy and Indention


<html> *Parent *opening tag
      <head> *child of html tag 
                 <title> *child of the head *always down next to head *title that will appear on the browser
                 <style> *child of the head and sibling of title *<style>CSS goes here</style>
         <body> *sibling of head *<body>content goes here</body>





Comments