HTML
The World Wide Web’s programming language is HTML. It’s a text formatting language for creating and displaying Web pages that’s widely used in the business.
These files are made up of two parts.
1) the content, and 2) the tags that format the content for optimal page presentation.
It can be used by Cascading Style Sheets (CSS) and programming languages like JavaScript. In its most basic form, html stands for Hypertext Markup Language. The initial version of this markup is Html1.0.
Structure
<!DOCTYPE html>
<html>
<head>
<title>
</title>
</head>
<body>
</body>
</html>
HTML5
HTML5 is the fifth version of HTML 1.0, with new tags and features. HTML version 5.0 is the formal name, however it is the more popular nickname.
Browsers such as Safari, Opera, Chrome, and Firefox currently support most html features. A web developer can use this language to build photo sites, online forums, and smart mapping tools. The full name of HTML5 is Hypertext Markup Language 5.
Structure
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<link rel=”stylesheet” type=”text/css” href=”style.css”>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>
<title></title>
</head>
<body>
<article>HTML5</article>
<section>It is advanced version<section>
<section>Supports multimedia features<section>
</body>
</html>
Difference between html and Html5
HTML | HTML5 |
Basic shapes are not feasible to draw in HTML. | It is possible to draw simple shapes in HTML5. |
In this character encoding is more complex. | The declaration of HTML5 character encoding is straightforward. |
Instead of cookies, HTML provides local storage. | Cookies are used by HTML5 to store data. |
Other technologies, such as Silverlight, Flash, VML, and others, can be used to create a vector. | HTML5 includes vector graphics, such as canvas and SVG. |
It has components such as audio and video are not supported. | HTML5 includes audio and video. |
As a temporary storage option, you might use the browser cache. | As temporary storage, you can use the application cache (database and web storage). |
It is compatible with all older browsers. | HTML5 is supported by all new browsers. |
It is hard to determine a person’s precise location while visiting a website. | The HTML5 JS Geolocation API allows you to determine the user’s location when viewing any website. |
There is no way to deal with HTML codes that are structurally erroneous. | The improvised error handling procedure in HTML5 allows for sustained error management. |
There is no Web Socket available. | Web Sockets allow you to establish full-duplex communication channels with a server. |
Interested in learning about similar topics? Here are a few hand-picked blogs for you!