Category: Tools | Posted date: 2022-06-02 20:35:16 | Posted by: Admin
HTML is a markup language for creating electronic documents (also known as pages) that are displayed on the Internet.
Tim Berners-Lee designed HTML, which stands forHypertext Markup Language, in 1990. HTML is a markup language for creating electronic documents (also known as pages) that are displayed on the Internet. There are several hyperlinks on each page that lead to other websites. A single HTML version was used to build each web page you see.
HTML code guarantees that the text and graphics in your web browser are formatted correctly. Without HTML, a browser would be unable to display text as elements or load pictures or other components. Cascading Style Sheets are stacked on top of HTML to modify the look of a page. CSS is used for the look of a web page, whereas HTML is used for the structure.
What is HTML5?
HTML5 is a new HTML version that succeeds HTML4. It uses the same essential ideas as HTML4, but adds a few extra elements and attributes to improve semantics and allow dynamic components to be activated using JavaScript.
As a result of the rising inclination to keep structure and style distinct, several stylistic elements were removed. Tags with accessibility issues or that were rarely used were also removed.
Sample of HTML5
The HTML5 code is nearly identical to the HTML4 code, with the exception that it is cleaner and includes a revised doctype element, as seen below.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Example page</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is an example of a basic HTML page.</p>
</body>
</html>