Saturday, 15 November 2014

Basics of HTML

Basics of HTML

HTML-  Hypertext Markup language is used to create documents that can be accessed our the HTML was originally developed In 1980, physicist Tim Berners-Lee, who was a contractor at CERN, and popularized by mosaic browser developed NESA. the www uses the hypertext & Hypermedia. in a hypertext Environment , information is shared in a set of documents. Hypermedia documents can contain pictures, graphics& the sound A unit of hypertext& Hypermedia available on the web is called a Page HTML is a not a case sensitive language Html uses tages. Tages uses property or attributeTAG - It is a piece of text that is used to identify an element so that the browser realizes How to display it contents. Tags are always written within angle braces < > and end with </> .
                              For Example :- 
                                                      Opening tag - <html> 
                                                       Closing tag - </html>


ATTRIBUTE - A <tag> tells the browser to do something whereas the attribute goes inside the <tag> & tells the browser how to do it . Attribute is the property of an html tag. that is specified in the opening angle brackets.
                    
                           For Example - colors, height,width etc.

 How to create HTML Documents
For this you will need a software called Notepad ++ (Link to download this software is given below) Firstly open notepad ++ & write HTML code in a file. An HTML document should Include Structure Tag Which Have Mainly Five Tags
1. <!DOCTYPE> :- This tag should be the first tag in every HTML Document this tag tells the browser The HTML version  with which the document Compiles Most browser ignore this tag while passing this code

2. <HTML> :- This tag is optional & even if it is not  included , Most Browser assumeits Existence . But it is good practice to include this tag.As some browsers may be confused while handling a document without this tag & may not display the page at all . All rge other tag are included in this tag
                            

                              For Example :-  <HTML>
                                                     
                                                         </HTML>


3<HEAD> :- This tag Contain Information about the document , including its title, Scripts used style definitions & documents descriptions.
                               

                              For Example :-  <HTML>
                                                         <HEAD>
                                                                   
                                                          </HEAD>
                                                           </HTML>

4. <TITLE> :- this tag gives an HTML document a title by which it is Known to browser & Indexing . The Title does not appear within the browser windo since it is visible in the browser title bar.
                              For Example :-  <HTML>
                                                         <HEAD>
                                     <TITLE> HELLO welcome to www.techyfreaks.com</TITLE>                              
                                                          </HEAD>
                                                           </HTML>


5. <BODY> ;- this tag uses all tags attributes & information that one wants the browser to display to use <BODY> tag enter it below </HEAD> tag & above the closing </HTML> tag

                                                         <HEAD>
                                     <TITLE> HELLO World</TITLE>                                                                  </HEAD>
                                                                                     

Notepad++ Download

Written by

is one of the Team Member of Programmer vs Hacker. He has written many articles on this website and is a patner of this website.

1 comments:

  1. I simply could not go away your website before suggesting that I really loved the usual
    info an individual provide on your guests? Is going
    to be back frequently to check out new posts

    Feel free to surf to my webpage http://viagraonline2015shopusa.com/

    ReplyDelete

We’re eager to see your comment. However, Please Keep in mind that comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.

© 2015 Programmer vs Hacker. All rights resevered.