Skip to main content

Introduction To HTML

HTML stands for Hypertext Markup Language. Hypertext refers to the text with Links. These links may point to sections of the same web page or any other web page within or outside the website.

HTML Definition

HTML is a language used to create and format web pages. HTML is used to define the structure and format of a web page. HTML will place and format the contents like text, pictures, audio or video data in your web pages. Moreover,you can use Links to connect the related web pages in the form of a website.


 Who Invented HTML?

HTML was developed by Tim Berners Lee in 1989.

TAGS and Elements

HTML uses commands called TAGS to create and format different elements
and contents of a web page. HTML tags are enclosed within angle brackets <>. For example <b> tag is used to format some text as bold text.
Normally, tags work in pairs as shown in the example below.

<b> This is bold text. </b>
The output of the above HTML command or tag will be as show next in blue:
This is bold text.

The <b> tag is called Opening Tag or start tag, whereas </b>
tag is called Closing Tag or end tag. most of the tags use both opening
and closing tags. A few tags like <br> tag (used for line break)
and <hr> tag (used for horizontal rule, that is, a horizontal line)
is used as single tags. They do not need closing tags. Such tags are also called
Empty Tags.
Every HTML Tag is related to some HTML element. For example, <TABLE>
tag
is used to create a table HTML element. Each HTML documents consists of
HTML elements.

Attributes

An attribute is an additional information to implement a tag. It gives some
extra information to enhance the format of the element related to that tag. For
example, <TABLE> tag is used to create a table in a web page. If we use a
<TABLE> tag without a BORDER attribute, table element will have no
border. If we use BORDER="1" in opening <TABLE> tag,
table will be created with a border.  BORDER is the attribute to
specify border width for a table and 1 is the value assigned to BORDER
attribute, as shown below:


<TABLE BORDER="1">          
                                           
.

.

.

</TABLE>                                  

Note: Attribute is used in Opening Tag always like BORDER="1".
Note: No attribute in Closing Tag.

Comments

Popular posts from this blog

Introduction to Algorithms and Algorithmic Notation With Examples

Topic: Introduction to Algorithm and Algorithmic Notation With Examples What is an Algorithm? The step by step procedure to solve a particular problem is called an Algorithm .  A Good Programmer always writes algorithms before developing programs. Algorithmic Notation with example algorithms  Advantages of  writing an Algorithm The process of solving a problem becomes simpler and easier with the help of  algorithm. There are less chance of errors in the program, if we design algorithms before writing our programs in any programming language. We can convert an algorithm into a program of any programming language. It is not dependent on any programming language. Therefore it is easy to understand for anyone even without programming knowledge. What is the Relationship between an Algorithm and a Program Sponsored Links An algorithm is the sequenc of steps to perform a task, whereas a program is the set of statements to perfor...

Define Data and Information With Examples

DATA Data is the collection of raw facts and figures. Actually data is unprocessed, that is why data is called collection of raw facts and figures. Define Data and Information with Examples We collect data from different resources. After collection, data is entered into computer for processing. Data may be collection of words, numbers, pictures,  or sounds etc. Examples of Data 1) Student Data on Admission Forms When students get admission in a college. They fill admission form. This form  contains raw facts (data of student) like name, father’s name, address of student, obtained marks, photo graph etc. 2)    Data of Citizens During census, data of all citizens is collected. The staff will go house to house and collect data about citizens like number of persons living in a home, either they are literate or illiterate, number of children, data of each child, cast, religion, Computerized national Identity Card number, address, how many rooms and...

What are Dual Devices or Both Input/ Output Devices

The devices that can be used to perform both functions -input and output- are called Dual Devices. These devices are also called Dual Purpose Devices or Both Input/Output Devices. With the help of a dual purpose device, we can enter data into computer as well as we can output data from the computer to outside world.  For example, Dual devices include:  Touch Screen Monitor, Modem, Network Interface Card, Sound card, Hard disk drive, Floppy disk Drive, Magnetic Tape Drive CD-Writer and DVD-Writer etc. These are also called Input/output devices, because they perform both functions. Touch Screen Monitor Dual Devices or Both Input / Output Devices - Touch screens Touch Screen Monitor is an input/output device. It uses a special touch sensitive screen. The User can enter data by touching icons or menus on the screen. As soon as the user selects a command from menu, output is displayed on screen. Commonly touch screen monitors use sensors to detect touch of finger. ...