What is HTML : – Who invented HTML, how it works, answers to all such questions about HTML and many other information you are going to find here today. Hope this information will work for you.
The full form of HTML is Hypertext Markup Language. HTML is a Markup Language that is used to define the structure of a web page. WWW HTML came into use a year after the invention of the(World Wide Web). And today it has been more than 30 years and during this time many versions of it have come and are being used even today. Almost all website pages ( Webpages ) are made up of HTML.
Markup Language used to prepare is used to structure of web pages and web application. in a page, Heading, Paragraph, Image, Links, Where to organize.it is determined by the HTML code itself.
The debate has arisen many times over this question, but most people believe that it does not fall under the category of programming language. The reason behind this debate is that the way we are able to create dynamic functionality in any other programming language does not do with HTML. It is a mark-up language and cannot create logical programs.
HTML tags are a type of keyword that helps a web browser identify the content of a web page and display it in the correct format. When the web page reaches the browser, the browser scans it and with the help of these tags understands the content and renders it.
All HTML tags <> (brackets) are written inside, such as tags have three parts. Opening tag, Content, and Closing tag HTML also have some tags which do not have closing tags of different types. Different types of tags are used for content. Let us give you HTML tags some examples.
<h1> Heading </h1>
<p> Paragraph </p>
<b> Bold </b>
<i> Italic </i>
<u> Underline </u>
<ul> Unordered lists </ul>
<li> List Items </li>
above shown Some examples of basic HTML tags, we have extended to teach HTML, The article is written in which you What is HTML – HTML can take more information about.
As you now know that HTML is used in every web page, and everywhere the basic structure of its code is almost the same. It is very known about this before coding is important.
Each HTML document consists mainly of three parts:
<! DOCTYPE> DTD (Document Type Declaration)
<html> Main container
<head> Head section
<body> Body section
The structure of the entire page is as follows:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Title of webpage</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
</head>
<body>
</body>
</html>
DTD ( Document Type Declaration):
First of all, we have to tell the type of the document so that the browser can know what type of file it is and can process that file accordingly. The <!DOCTYPE> element is used for this. In the HTML 5 version, it is very easy, it is written like this: How you write this code depends on which version of HTML you are using and what is the type of your file.
Main container HTML element:
DTD ( Document Type Declaration ), we have to create a container in which DTD ( Document Type Declaration all the contents of the document are written except). For <html> Tags are used.
Head section: Main container
Inside this we <head> have to create a head section using the tag. In which we write information about that web page. Information written here does not appear on the browser. The information written in this section is as follows:
Document Title: To write the title of a web page, we have <title> to use the tag. In stylesheet declaration: <style> elements we can write CSS codes Client code to provide client scripts: Functionality can be written in the code head section, for this the <script> tag is used.
Meta elements: used for some custom attributes.
Link elements: To link an external file or document, we have <link> to use
Body Section: This is the part of the document where you put all the contents that you want to show your users
All HTML files of a website reside in the web server when you open any page of that website from your computer or mobile web browser (eg: Google Chrome, Mozilla Firefox, etc.) then it comes into your computer from the HTML file server. And accesses your browser.
An HTML file has an extension .html or .htm that the browser scans and identifies the HTML elements and tags inside it and understands the structure of the entire page. According to the elements, the content shows on the user’s screen.
so let us now know about the benefits of HTML:
HTML is very easy to learn.
HTML is very light-weight.
HTML is search engine friendly.
HTML is open-source.
HTML is very easy to edit its code.
HTML is the Basic of all Programming Languages.
We do not need any separate software to do coding in it, for this we can use any text editor. (Notepad, Sublime, Visual Code Studio, etc.)
It has many advantages, it has some limitations also about which you can read below:
From this, we can only create static and plain web pages
For this, we have to do JavaScript programming, PHP, ASP for any dynamic functionality.
In this, we have to make all the pages separately because we cannot perform logical logical tasks in it.
If web browsers are outdated then they do not understand the new tags of HTML and cannot render it.
We hope you like this article ( What is HTML ). You must keep your thoughts about it in the comment below and share this article with your friends.