What is HTML? Explain the meaning of each word in html also give advantage and limitation of HTML.
HTML
HTML stands for Hypertext
Markup Language. It was created by Tim
Berners-Lee at CERN, the
European Laboratory for Particle Physics in Geneva. It was later modified to
act as a universally under stood language.
HTML simplified subset of a more general markup language
called SGML (Standard Generalized markup language) that is a Meta language
which is used to create markup language that are of different application
domain. HTML is a special formatting language that defines the appearance and
contents of a web page. Its specific syntax rules allow you to define the
placement and format of text, graphics, sound and videos on the webpage. It is
extremely simple and requires no knowledge of programming in its basic form.
HTML is one of the most commonly used interface language used now a days for
the web.
Each
word in HTML has a special meaning.
·
The word Hypertext refers to the text which acts as a link. You can jump to
any webpage on the Internet by simply clicking at the text at the text which
acts as a link.
·
The word Markup refers to the symbols or sequence of characters added to the
ordinary text to define the structure of the text. It can also specify links to
other documents .The symbols used for markup tell the browser how to display
the text and are often called tags.
·
The word Language refers to the syntax that is similar to any other
language.
ADVANTAGES
OF HTML
·
HTML is very simple. So it is possible
to create webpage without knowing anything about the HTML source behind the
page.
·
HTML files are the plain text files, so
they can be composed and edited on any type of computer such a Windows, Mac, UNIX etc.
·
WebPages created using HTML can run on
every browser.
·
No download or plug-in installation is
required to run webpages created using HTML.
·
HTML is very easy to understand so
anyone can create webpages by
understanding the code of other web sites.
·
It allows the user to handle both text
and graphics files in a cross-platform manner.
LIMITATIONS
OF HTML
·
HTML defines a fixed set of elements
i.e. you can only use the tags defined in HTML but cannot create their own
tags.
·
HTML is not suitable for data
interchange.
·
HTML lacks robust linking mechanism.
·
Using HTML, you cannot create
animation.
·
In spite of all enhanced functionality,
HTML comes with additional security risks.
·
Output can vary across different
browsers.
Using an
example explain the structure of HTML document.
The basic HTML document structure is as follows:
<Html>
<head>
<title> First Web Page</title>
<Head>
<body>
Welcome to HTML document
</body>
</html>
·
<HTML>:
It specifies the document as a webpage that can be seen in the web browser. The
entire document is enclosed within the <HTML> and </HTML> tags. It
actually tells the web browser where the page starts and where it ends.
·
<HEAD>: The
head section specifies descriptive information about the web documents. It
marked by an opening tag <HEAD> and closing tag </HEAD>. It
consists of information such as title of the webpage etc.
·
<TITLE>: The
title element contains the title of HTML document that appears on the title bar
of the browser ‘s window when the webpage is loaded. It enclosed between
<TITLE> and </TITLE> tags.
·
<BODY>: The
body element contains the actual contents of your HTML document that can be
seen by the end user, when the page is loaded in the browser’s window. The body
element contains any valid HTML contents such as text, images, forms, special
characters etc. These contents are always enclosed between <BODY> and
</BODY> tags.
html style id examples
ReplyDeleteCombine the style from ID and class