What is HTML and why is it needed?
HTML (HyperText
Markup Language) is a hypertext markup language. First, for a better
understanding, it is worth understanding what hypertext is.
Hypertext is a
text system in which developers write website elements and connect them with
links. With the help of hypertext, we can follow links on the site, as well as
open photos and videos. Accordingly, hypertext markup is the rule by which
developers create the text of a web page.
Whenever we talk
about HTML, the question may arise as to whether it is a programming language.
HTML is a markup language, not a programming language. Its main task is to
structure and design elements on a web page. Although HTML is not a programming
language, without knowing its basics you cannot move on to learning programming
languages.
Why is HTML needed: its importance.
• Structures and designs elements on a web
page: creates a hierarchical structure using headings, paragraphs, lists and
tables.
• You can create hyperlinks that lead to other
sites.
• HTML displays text, images, tables, video
and audio.
• You can create tables and forms, for
example, to register visitors by phone number or email.
Accordingly, when
a browser opens a page on the Internet, it downloads the HTML code that is
written in a text file, and then all the elements are arranged according to the
structure. Thus, with the help of HTML, it becomes easier for the user to
navigate the site.
Advantages and disadvantages.
Advantages.
• Simplicity and
accessibility: this markup language is lightweight and easy to use and learn,
and can be written in any text editor.
• Responsive
design: in modern versions of HTML tags allow you to create different versions
of the same site for viewing on different devices.
• You can create
simple websites using HTML without using other elements. For example, you can
create catalogues, portfolios, directories, blogs, and so on.
Disadvantages.
• Due to the fact
that HTML is not a programming language, it will not be possible to create
complex sites using it alone. Due to the simplicity and limited capabilities of
this code, it will not be possible to create a modern site, and you will have
to use other codes to add dynamics to the site.
• New versions of
tags in HTML cannot always be understood through browsers, especially old ones
- as a result, inconsistencies occur.
To summarize, it should be noted that HTML is the
basis for creating websites, which you cannot do without, but using only it you
can create a site with a simple design and functionality, but not a modern site
with advanced capabilities.