html tutorial

Tim berners-Lee and some computer scientist created hyper text mark up language to create web documents Html hold:-Hyper-Text markup language(Html) HyperText Markup Language is a markup language that web browsers use to interpret and compose text,images and other material into visual or audible web pages.Default characteristics for every item of HTML are defined in the browser. HTML 4.01 was published in late 1999, current version HTML5 with new features.

web document is in two partition

1.HEAD part     2.BODY part

                                show  html document

    <!Doctype html> 
    
       <html>
                 
         </head>

    <title>a complete online  html tutorial guid</title>

    <meta> name="keyword"  content="html css java-script ajex"/>

    <meta> name="description" content="html css javascrip ajex java php tutorials"/>

    <link  type="text/css" href="path" media="print screen"/>

    <link  type="javascript" href="path"/>

  </head>

     <body>

			<p> this is paragrph element </p>

			<h> all heading  block element </h---n>

		<div>  top  div element</div>

		         <table>
		         
		          <tr> <th> table heading </th> <td> row data </td > </tr> 
		          
		      </table>

     </body>  </html>

some important points for html language tutorial

  • All html code files save with .html .htm extantion
  • Every tag needs to be explicitly closed,Whether by a matching closing tag or a slash at the end of a tag - look example
           <h1>heading tag end with matching tag</h1>
           
           <div> a div tag end with matching tag </div>
      
   <link  href="path"  type="text/css" />
   
   < meta  name="" content=""  />

  • HTML is case insensitive language
  • Every tag attribute needs to be enclosed in quotes
  • Every tag attribute must have a value - example
      <link  type="text/css"  href="http:/www.google.com/search/find.jsp"/>
      
      <div class="css_class" id="css_id" >div attribute </div>
      
      <meta charset = "utf-8"/>
  • The attribute name must be followed immediately by an equal sign (=)
  • The attribute value needs to come immediately after the equal sign
  • The attribute value must always be enclosed in quotes,either single or double (' ")
  • The comments in html language <!-- start part of comment end part of comment -->
  • Html have two type elements, block and inline elements
     
      <!-- block level elements -->          
      
      <p> __paragraphs tag
      
      <h1>throug<h6> heading tags
        
      <blockquote> ___Quoted text
       
      <pre>__Preformatted text
       
      <ul> <ol> <li> <dt> <dd> list tags
       
      <center> Centered text
      
      <div> a division of document tag 

     
  <!--inline level elements-->    
     
      <b> bold element
      
      <i> italic tag
      
      <big> big tag
      
      <small> small tag
      
      <strong> strong  tag
      
      <tt> monospaced text