HTML and CSS HTML CSS About me

What is HTML?

HTML5 Icon

The definition of HTML is HyperText Markup Language.

HyperText is the method that is used for moving around on the web — by clicking on special text called hyperlinks which bring you to the next page.

The fact that it is hyper just means it is not linear — you can go to any place on the Internet whenever you want by clicking on links — there is no set order to do things in.

Markup is what HTML tags do to the text inside them. They mark it as a certain type of text (for example italicised text). HTML has code-words and syntax like any other language.

HTML is not a programming language, it does not have the ability to create dynamic functions. Instead, it allows you to organize and format documents, similar to Microsoft Word.

While working with HTML, we use simple code structures (tags and attributes) to lay out the website page. For example, we can create a paragraph by placing the attached text in the source <p> tag and closing </p>.

<p>Adding paragraph in HTML.</p>
<br><p>You can have more than one! </p></br>

History of HTML

HTML was invented by Tim Berners-Lee, a physicist at the CERN Research Institute in Switzerland. He came up with the idea of ​​an Internet hypertext system.

Hypertext means text containing links to other texts that viewers can receive immediately. He published the first version of HTML in 1991, consisting of 18 HTML tags. Since then, each new version of the HTML language has appeared with the markup of new tags and attributes (tag modifiers).

According to the Mozilla Developer Network’s HTML Element Reference, there are currently 140 HTML tags, although some are already outdated and are not supported by modern browsers.

Due to the rapid growth in popularity, HTML is now considered the official web standard. HTML specifications are maintained and developed by the World Wide Web Consortium (W3C). You can check the latest state of the language at any time on the W3C website.

HTML5 is the biggest language update, that was in 2014. Some new semantic tags have been added to the markup, which show the meaning of their own content, such as <article>, <header> and <footer>.

How does it work?

HTML documents are files that end with the extension .html or .htm. You can view it using any web browser (e.g. Google Chrome, Safari or Mozilla Firefox). The browser reads the HTML file and displays its contents so that Internet users can view it.

Typically, an average website includes several different HTML pages. For example: home pages, regular pages, contact pages will have separate HTML documents.

Each HTML page consists of a set of tags (also called elements) that you can call the building blocks of web pages. They create a hierarchy that structures content into sections, paragraphs, headings, and other blocks of content.

Most HTML elements have open and close, which use the <tag> </tag> syntax.

Example of code:

<div>
<h1>Main title</h1>
<h2>Second title </h2>
<p>Text</p>
<h2>Second title </h2>
<p>Text with hyperlink <a> href="somelink.com"</a></p>
</div>

You can find more tags here