HTML5 – The basics you need to know
HTML5 – The basics you need to know
A lot has changed in the field of web development over the past few years. The rise in popularity of MEAN and MERN stacks has completely changed the way websites are built.
HTML/HTML5 is one of the most important things that every person needs to learn how to start building a website. But what is HTML5, and what is the difference between HTML and HTML5?
What is HTML5?
HTML is short for HyperText Markup Language and is the basic building block of the web. The fact that you’re reading that sentence in this article is clear from the HTML .
While the solutions used for software development are called “programming languages” or “libraries,” HTML is neither. This is because it is just a markup language and does not have any specific logic.
If we take for example a programming language like Python, there is a lot of logic in it (if / else, for / while loops, switch / case, etc), but in the case of HTML we use predefined tags that do not contain any logic. Tags are the basic building blocks of HTML and are used to define the structure of a website.
Differences between HTML and HTML5
The big difference between HTML and HTML5 is that HTML5 offers more tags like audio, video, homepage, header, footer, marine, etc.
Also, previous versions of HTML were unable to run JavaScript in a web browser.
Version 5 also removes and replaces some CSS tags. CSS stands for Cascading Style Sheets which, as the name suggests, plays an important role in website design.
HTML5 also supports new form elements such as date, email, time, number, search, title, url, category, etc.
HTML5 also uses cookies, while HTML uses your computer’s memory to retrieve data.
Read also about: What is HTML – What is HTML for beginners
.