Introduction to HTML

Introduction to HTML


HTML (Hypertext Markup Language) is used to create document on the World Wide Web. It is simply a collection of certain key words called ‘Tags’ that are helpful in writing the document to be displayed using a browser on Internet. HTML was developed by Tim Berners-Lee in 1992.

CREATING, SAVING AND VIEWING A HTML DOCUMENT

Creating a HTML document

The essential tags that are required to create a HTML document are:

 <HTML>.............</HTML>

 <HEAD>.............</HEAD>

 <BODY>.............</BODY>


HTML Tags

Tags are instructions that are embedded directly into the text of document.Html Tags are signals to a browser that should do something other than just through text upon the screen.All HTML tags begin with an open angle bracket (<) and end with close angle bracket (>).

HTML tags can be two types:-

  • Paired Tag (Container)

  • Singular Tags (Empty)

Container Tags: Tags which have both the opening and closing i.e. <TAG> and </TAG> are called container tags.They hold the text and other HTML tags in between the tags. The <HTML>, <HEAD>, <TITLE> and <BODY> tags are all container tags.

Example:

<TAG> this is a container tag. It holds both the text and HTML tag </TAG>

Empty Tags: Tags, which have only opening and no ending,are called empty tags. The <HR>, which is used to draw horizontal, rule across the width of the document, and line break <BR> tags are empty tags.


Qus. 1 : HTML 5 supports

  1. UTF 8
  2. UTF 16
  3. Both A and B
  4. None of these

Programs

CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad