What is HTML? How does HTML works?

What is HTML?

Posted BY GroupGyaan



HTML stands for Hypertext Markup Language. HTML is a markup language which use to design a Web Page to display on Web Browser like Chrome.HTML describes the structure of a web page and consists of a list of elements.HTML elements tell the browser how to show the content on display. 
HTML is not like a programming language, it makes only possible to organize and format documents like Ms Word file.


HTML is a markup language which is used for creating attractive web page with the help of styling, and which also look a document format. HTML document is made of many HTML tags and each tags contains different content.


Look Here an example : --

<!DOCTYPE>
<html>
<head>
<title>MY First page</title>
</head>
</body>
<h1>My First Heading</h1>
<h2>My Second Heading</h2>
</body>
</html>


History of HTML


HTML was created by Sir Tim Berners-Lee in 1991, but version 1 was published in 1993. HTML is a very evolving markup language and has evolved with various versions updating.

  • HTML 1.0 was released in 1993 with the intention of sharing information that can be readable and accessible via web browser.
  • Then Come the HTML 2.0  which published in 1995, And contins all features of HTML 1.0 along with that few additional features.
  • After HTML 2.0 came the HTML 3.0, where Dave Raggett who introduced a fresh paper on HTML. It included improved new features of HTML, giving more powerful characteristics for web in designing web page, but there featured was slow on uploading on web browser.
  • Then Came HTML 4.01 which is widely used and was a more successful version of HTML .
  • Now has been released HTML 5.0 in 2014, which is extended version of HTML 4.01 .

    This time most of developers using HTML 5.0 features in their web page.



How does HTML Works?

HTML documents are files that end with a .html or .htm extension. After saving file name you can view your file on any web browser like Google Chrome, safari, Mozilla Firefox. The browser reads the HTML file and show its content so that we can view it.

Each HTML page consists of a set of tags also called elements which you can refer to as the building blocks of web pages. It contain into sections, paragraphs, headings, and other content blocks.

All HTML elements have an opening and a closing tags like <tag></tag>.
Example - -  <html>
                      -------    
                      -------   
                    </html>


Description of Some HTML tags : --

<!DOCTYPE> : It means the document type or tell browser about which version of this file of HTLM.

<html> : This tag inform the web browser that it is a HTML document. It is also a container for all other elements of HTML.

<head> : It should be the first element inside the <html> element, which contains the metadata (information about the document). It must be close before body tag.

<title> : As its name showing, it is used to add a title of that HTML page which show at top of the browser window. It comes in the <head> tag.

<body> : Text between body tag describes the body content of the page that is visible to the end user. This tag contains the main content of the HTML document. All tags which use to display contents come in body tag.

<h1> : Text  between <h1> tag shows the first level heading of webpage. It have <h1> to <h6>, here <h6> tag is smallest heading of contents.

<p> : Text  between <p> tag shows the paragraph of the webpage. As like in book we see any paragraph like that we can add or give a paragraph in webpage also.




Posted by GroupGyaan






Posted by GroupGyaan


                                         

Comments

Most popular post

SDLC in Software Engineering