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

Explain different types of storage devices

Topic: Explain different types of storage devices in Computer systems Storage Devices Storage devices are used to store data and instructions permanently. Storage devices are also called secondary storage devices / backing storage devices / external storage devices or auxiliary storage devices. Examples of storage devices include Hard Disk, CD and DVD etc. Why Secondary Storage Devices are Used? Secondary storage devices are used because: Primary memory(RAM) is volatile and temporary. When computer is switched off, all data in ram is erased. Storage devices can store large amounts of data and instructions permanently whereas Primary memory has less capacity of storing data. Types Of Storage Devices There are three main types of storage devices:  Magnetic Tape   Magnetic Disk   Optical Disk   Flash Memory storage devices 1. Magnetic Tape Magnetic tape is the oldest storage device. It is made of plastic coated with m...

Attributes of Table Tag

Border: It is used to specify a border and its thickness for a table. Cellspacing: It is used to specify the distance between adjacent cells in a table. Cellpadding : it is used to specify the distance between a cell and cell contents in a table. Width : It is used to specify width of a table in pixels or as percentage to screen width. Align : It is used to specify the horizontal alignment of a table. Possible horizontal alignment values are "left", "right" or "center". Valign : It is used to set the vertical alignment of a table as "top", "bottom" or "middle". Bgcolor : It sets the background color of a table. You can specify color names or hex values for the color. Example of table with border=1, width=200 and align=center attributes HTML Coding: <table border="1" width="200" align="center"> <tr> <th>Book</th><th>Price($)</th> </tr> ...

Explain Different Types Of Output Devices

Output devices Out put devices are used to display results of processing to the user. They perform the following functions:  Receive results from memory  Convert data into human readable form  Display results to the user Examples include: Monitor, printer, plotter, speaker, and multimedia projector. Different Types of Output Devices 1.    Monitor LCD Monitor CTR Monitor     Monitor is the most commonly used output device used to display results of processing. It has a TV like shape. Pictures on monitor are formed with picture elements called PIXEL. Monitors may be Monochrome that will display results in Black & White. Color Monitors are also available. They display results in multi colors. Monitor produces soft copy output. 2.    Printers Printers are used to produce hard copy out put. They print processing results on paper. Printers are divided into two main categories: · ...