What is HTML?

HyperText Markup Language or HTML is a computer language designed to create websites, which can be viewed on the internet. It was first developed in 1990 by an English computer scientist and engineer, Sir Timothy John Berner-Lee.

HTML is a powerful language that is easy to learn and accessible to most people. It is always changing to meet the requirements and demands of the growing internet population under the 1994-founded web standards group, the World Wide Web consortium or W3C, which is in charged with maintaining and designing the language.

HyperText is the way we can move around on the web. Clicking on hyperlinks brings us to another page. It is hyper and not linear, allowing us to go to any place on the net without any set order. HTML tags markup the text inside them. For instance, they mark it as italicized, underlined or bold.

HTML consists of text-file typed short codes called tags. When viewed through a browser, HTML is read, translated into a visible form and rendered as intended. To write our own HTML, we need to correctly use tags to come up with your vision. Creating HTML pages only requires a text editor, whether it is a simple editor or a powerful and graphical one. This is how it looks like:

<html>

 

<head>

<title>Sample HTML</title>

</head>

 

<body>

<p> This is a paragraph.</p>

</body>

 

 

</html>

HTML tags

The tags, or the words between angle brackets are what differentiate HTML from a plain text. These tags tell the browser what to render, performing different tasks. They are invisible on web pages and only show the effects. The following are examples of formatting texts:

<b> This sentence is bold. </b>

<i> This one is italic. </i>

Styles and Cascading Style Sheet

Different styles are applied to an HTML document to control the way its elements are presented on the pages. The cascading style sheet or CSS is a file that contains all the styling applied to the elements of an HTML file, making them more accessible.

This is how a style is applied to an HTML element:

<h1 style=”color: green;”> This is the main heading and is colored green. </h1>

When using a CSS, the HTML document specifies the CSS file instead of using the style tag:

<link rel=”stylesheet” href=”./styles.css”/>

Inside the file styles.css, a line can look like this:

h1 { color: green; }

We can compare HTML as the bones or structure of a web page, while CSS as its skin or appearance.

Javascript

Javascript is a programming language that lets us apply complex stuff on web pages, adding much power to the fundamental HTML. When we see a web page that does a lot of things instead of just sitting there with static information, we know that Javascript is involved. Javascript makes it possible to display animated graphics, videos, updates, interactive maps and many more to web pages.

Javascript provides the basic interaction and special effects to HTML. In standard web technologies, the Javascript is the third layer, following HTML and CSS. Using all these three technologies together gives us a lot of power at our disposal.