But before learning the basics, we have to learn a little about theory.
First of all, have you ever wondered why you should learn this language? Well, here are some good reasons:
HTML stands for HyperText Markup Language. This means that, as you surely have noticed while browsing the Web, the HTML pages are hypertext documents with the possibility of interconnecting with each other via links.
HTML was born in June 1993, and over the years has seen many revisions up to the current version: the fifth.
The HTML5 brings great advantages compared to previous versions, such as the ability to reproduce multimedia content (such as video and audio) natively from the browser without the need for external extensions (Flash Player, for example), the possibility of having a whole set of instructions to check the sensors on the various devices (GPS, light sensor, gyroscope, accelerometer, etc.).
Before I talked about markup also called tags, but what are they?
Tags are the basis of HTML, there are two types:
Here is their structure:
<p class="course"> Content </p>
All tags start with “<” followed by the name of the tag, in this case, the p
(paragraph) tag, later separated by space, there may be attributes, which are properties of that tag, and you end up closing the opening the tag with “>“, following is inserted the content which can also be another tag, then the tag is closed by writing “</“, tag name “>“.
Do you need a program to write in HTML?
No, but can be helpful because of the autocompletion and syntax highlighter.
This introductory lesson is over, if you have questions you can leave a comment so that the answer can be useful for everyone.