HTML???

Wickramarachchi H.R.
4 min readFeb 23, 2021
Photo by Lynda.com

You may find many posts, tutorials, courses on HTML, but have you ever wondered what is actually html, what do we use it for, why do we use it, what are the advantages and disadvantages of using html. Then this is the wright place to talk about it.

What is HTML?

“HTML” stands for Hypertext Markup Language. HTML was created in 1991 by Tim Berners-Lee. It is a designing language that is used to describe the structure of information on a web page. HTML Is the standard markup language foe creating websites. Elements of HTML are represented by using tags.

HTML versions

HTML 2- 24th of November 1995

HTML 3- 14th of January 1997

HTML 4- 18th of December 1997

HTML 5- 28th of October 2014

Currently we are having HTML-5 version.

How does it work??

HTML is used in every single website you open in your browser. Whether it’s a social network, educational service, music and entertainment service, government service, they all uses HTML.

Look at this blog or take any web page you like. Each contain headings, paragraphs, images, videos, and many other types of data. HTML is use to specify what sort of information each item on the page contains.

HTML created structure is use to reference, enhance and manipulate elements by using CSS and JavaScript. As an example we can use html to mark up all the headings and then use CSS to specify the font, size, alignment, color etc.

HTML let us indicate the roles if different elements to search engines and other services that index the content and summarize it for other users. As an example “fig caption” element.

A simple HTML document

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

Result:

Why use HTML??

HTML is light weighted and fast. When we get in to a website or a server through a browser, we get the response in the form of HTML and CSS. HTML has many tags that can make a web page more attractive. HTML 5, the current version has many new tags and elements that can use to develop a web page more professionally.

Are there any advantages of using HTML?

Yes, there many things we can take as advantages when it comes to html.

· HTML is easy to use and easy to learn. Even for beginner level programmers.

· It has relevant and memorable tags. So it’s easy to understand and memorize.

· It is widely used

· HTML is free. You don’t need to buy any software to use html.

· Every browser support HTML

· It allows using templates. Using templates can make the webpage process easy and effective.

· It can be integrated with JavaScript, jQuery and CSS very easily

· XML syntax, which are used for data storage and HTML are similar

Any Limitations???

Yes. The major limitation of HTML occurs when we want to make some structure with different content repeatedly. We have to write more codes in order to do that.

Disadvantages

· Security features are poor

· To develop Dynamic webpages, the developer need to have knowledge of other programming languages like Java and knowledge of script languages like jQuery, JavaScript.

HTML Elements

HTML documents imply a structure of nested HTML elements. Everything that is between the start tag and the end tag are elements.

HTML Attributes

Attributes are used to define the characteristics of and HTML element.

Different types of attributes-

· Required attributes

· Optional attributes

· Standard attributes

· Event attributes

Examples:

<a href=”https://www.w3schools.com">Visit W3Schools</a>

<img src=”img_girl.jpg” width=”500" height=”600">

<p style=”color:red;”>This is a red paragraph.</p>

HTML Tags

HTML uses various types of tags to format its content. Most tags have their corresponding closing tags. As an example, the <p> tag has its closing tag as </p>.

Here are some common tags we use in HTML

<!DOCTYPE> — this tag defines the document type

<html>

<head>

<title>

<body>

<h1>

<p>

<b>

<table>

<header>

<figure>

<button>

Would you like to learn HTML from scratch???

Here is the link to a website I recommend. https://www.w3schools.com/html/default.asp

Visit to w3schools and learn everything you need to know about HTML.

Hope you got cleared out your questions. If you are beginner at HTML hope this blog gave you more motivation to learn HTML.

Thanks for reading and hope you enjoyed!

--

--