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

Types Of Headings In HTML

HTML Hedings Headings in HTML are used to display Titles, Sub-Titles of Sub-Sub-Titles for your web page text. There are six types of headings in HTML. H1 is the largest heading and H6 is the smallest heading. <H1> is opening tag whereas </H1> is the closing tag for the largest heading. The text between <h1> and </h1> will be displayed as the main Title in your web page. Following are the six tags used for six types of headings in HTML. <H1> ... </H1> <H2> ... </H2> <H3> ... </H3> <H4> ... </H4> <H5> ... </H5> <H6> ... </H6> The H1 heading is used for main titles. Actually H1 heading will show the text in largest font size. H2 headings is used for Sub-Titles. H2 displays text in smaller font size than H1, H3 displays text of font size smaller than H1 and H2, and so on. H1 is for largest heading in a text page and H6 is for smallest heading.   Importance Of Headings in SEO H...

HTML Table Tag Basics

Tables Tables are very important to show data in the form of rows and columns. Tables make data more readable and easy to understand. A table consists of rows, columns and cells. HTML Tags To Make A Table As we know that there are basically three elements in a table, that is, rows, columns and cells. So, there are the following basic tags to create a table in an HTML web page: <TABLE> tag <TR> tag <TD> tag <TH> tag   <TABLE> Tag <Table> tag is used to specify the start of a table. It also specifies some attributes of the table like ALIGN and BORDER attributes etc. Example 1: <Table>                    => Table without a border. Example 2: <Table border="1">     => Table with a border of width 1. Example 3: <Table align="left" border="2">  => A left aligned Table with a border of width 2. ...

Explain Different Types Of Operating Systems with Examples

Topic: Explain Different Types Of Operating Systems with Examples Q. Explain different types of operating system What is an Operating system or OS The operating system is the most important program that runs on a computer. Every general-purpose computer must have an operating system to run other programs and applications. The Operating system or OS provides the base on which other programs and applications are installed and executed . Operating systems perform basic tasks in computer systems, like: Basic Functions of Operating System Providing the user interface Receiving the input from the keyboard, Sending  the output to the monitor screen,  Keeping track of files and folders on the disk, and controlling the functions of peripheral devices such as printers, etc. Different Types of Operating Systems With Examples in Detail Different types of operating system with examples Following are different types of operating system with examples: ...