Skip to main content

Introduction to HTML | Understanding HTML | Class 8 CBSE | Computer Application

 

Understanding HTML

The internet has become a vital part of our lives. By  use of the internet, we can share data and information across the world instantly. It is worldwide network of computers. A computer on the internet that shares available data and information is called server. A computer on the internet that accesses data and information from the server is called client.

A server stores files and information in the form of websites. These websites consists of millions of webpages. A webpage is a page that carries text, graphics, video, audio and links to other web pages. These webpages are written in HyperText Markup Language (HTML).

What is HTML?

HyperText MarkUp Language (HTML) is a computer language used to create webpages. Tim Berners-Lee and his team developed this language at CERN, an European Scientific Organization based in Geneva, Switzerland.

HTML describes the content, format and layout in which a web page should be displayed over the World Wide Web. Let us analyse the word HTML.

HyperText: HyperText is the text on a webpage, which on clicking opens a new web page.

MarkUp: MarkUp means highlighting the text either by underlining or displaying it in different colours, or both.

Language: Language is the mode of communication between web pages. HTML has its own syntax and rules.

HTML Tags

HTML is a tag based language. A tag is a command used to indicate how your web page should be displayed on the browser. A tag comprised of text enclosed in angle bracket (< >)

For Example <HTML>, <BODY>, <P>, etc.

Html Tags are of two types:
  • Container tag
  • Empty Tag

Container Tag

A tag that requires and opening tag and a closing tag is known as a container tag. The tag is opened using the opening bracket < >, and closed using the closing brackets </>. These tags are always used in pairs.

E.g. <H1>Welcome to the world of HTML</H1>

       <H1> and </H1> are container tags, where <H1> is the opening tag and </H1> is the closing tag.

Empty Tag

A tag that doesn’t require a closing tag is known as empty tag.

E.g. <br>, <hr>, etc.

 

Comments