HTML and Its Introduction

Subject: Computer

Find Your Query
Kaspersky total security

Overview

Different tags with their attributes are used to develop HTML documents or web pages. HTML tags are the keywords or commands used in HTML. This note provides an information about introduction to HTML.
HTML and Its Introduction

HyperText Markup Language (HTML) is the computer programming language that defines the content, layout, links and graphics that when converted by a web browser creates the web page that we see on our screen.

HTML Tags

Different tags with their attributes are used to develop HTML documents or web pages. HTML tags are the keywords or commands used in HTML. They are enclosed by angle brackets like < HTML >. The tags tell the browser how to display the document on the web pages. There are two types of HTML tags. They are:

  • Container Tags (paired tags):
    A container tag has start and end tag. Start tags are written within angular brackets and the end tags are written within angular bracket along with slash (/). The text and other tags are written between the start and end tags. Some examples of container tags are: < HTML > content , < HEAD> content , etc.
  • Empty Tags (singular tags):
    Some tags do not require the end tags. The tags which have no end tags are called empty tags. Some examples of empty tags are < IMG >, < BR > etc.

Attributes

Scholarships after +2 Abroad Studies Opportunities

The HTML tags can also have attributes. Attributes provide additional information to describe the content of tags. The attributes are always in the start tag of the element. Each attribute has some value. A value of an attribute is assigned by the equal sign. The values are generally enclosed in the double quotes. Common attributes are color, height, width etc.

Skeleton of HTML

HTML is a tag-based scripting language. The skeleton is its basic structure. Without it, HTML document cannot be constructed. The minimum requirement for HTML designing and its position in the document can be discussed here. The < HTML>and < /HTML> tags are the backbone or main point on which other tags are located. All the elements of HTML is written within < HTML >. The structure of HTML is as follows:

< HTML >
< HEAD > ... < /HEAD >
< TITLE> ... : written within < HEAD> tags.
< BODY>.... < /BODY >
< /HTML >

The < HTML > is the main body of HTML documents in which applet, multimedia, link and several other elements are placed. We can say that the HTML document has document has following two important sections:

  • HEAD section
  • BODY section

How to Create an HTML file?

An Html file is a plain text file with either .htm or .html as the file extension. The three letter extension (.htm) call back to the time when computers would only allow up to three letters in the file extension. You can either use .htm or .html in file extensions.

Creating HTML Document or Web Page

You can create the HTML documents either by using the plain text editors software like Notepad, WordPad or by using web designing software like Microsoft Frontpage.

The steps to create HTML document using text editor Notepad:

  • Step 1: Open the Notepad. ( To open Notepad, click on the Start button and choose the All programs menu. Go to the Accessories and click on the Notepad.)
  • Step 2: Type the HTML code in the Notepad.
  • Step 3: Save the document with the extension .htm or .html.

Things to remember
  • Hyper Text Markup Language (HTML) is the computer programming language that defines the content, layout, links and graphics that when converted by a web browser creates the web page that we see on our screen.
  •  HTML tags are the keywords or commands used in HTML.
  • A container tag has start and end tag. 
  • The tags which have no end tags are called empty tags.
  • It includes every relationship which established among the people.
  • There can be more than one community in a society. Community smaller than society.
  • It is a network of social relationships which cannot see or touched.
  • common interests and common objectives are not necessary for society.
Videos for HTML and Its Introduction
How to create HTML Web page using Notepad
The Skeleton of a HTML 5 Document
Understanding HTML tags
Questions and Answers
A tag is coded HTML command that indicates how part of web page should be displayed. All HTML tags are contained with angle brackets (<>) e.g <Head> <Body>, etc.
There are two types of tags:
  1. Container Tag (Paired Tag)
  2. Empty Tag (Singular Tag)
The container tags are pair tags i.e. they required a starting tag as well as and ending tag. They affect the text appearing between their starting and ending tag. E.g.
<HTML> ..............</HTML>
<B> .............. </B>
<Title> ..............</Title>, etc.
The empty just required a starting tag and no ending tag. They just carry out the job assigned to them. E.g. <br>, <Hr>, <img>, etc.
Every HTML document should follow this general form:
<HTML>
<HEAD>
<TITLE> Title of page written here
</TITLE>
</HEAD>
<BODY>
The HTML tags that define our page here are
</BODY>
<H/TML>
An attribute is a special word used inside tag to specify additional information to tag.

Hyper Text Markup Language (html) is the computer programming language that defines the content, layout, links and graphics that when converted by a web browser creates the web page that we see on our screen.

Quiz

© 2019-20 Kullabs. All Rights Reserved.