What is HTML?
HTML, or HyperText Markup Language, is a standard markup language developed by Sir Tim Berners Lee in 1993 that is used to design web pages, generally called as HTML documents.
It is the fundamental building block of web development and is used to structure content on the Internet.
HTML provides a set of tags or elements that define the structure of a web page, such as paragraphs, headings, lists, links, images, videos, forms etc.
It is interpreted by web browsers. It is standardized by World Wide Web Consortium (W3C). It is case in-sensitive. HTML files are also called as HTML documents. HTML files are saved with . htm or .html extension. Latest version of HTML is 5.2.
The structure of an HTML page consists of several key components that define the layout and content of the document.
Here's a basic template for an HTML5 document:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
Here <html></html>, <head></head> and <body></body> are called as tags and DOCTYPE is a directive to the web browser about the version of HTML in which the document is authored.
It helps browsers to render the document correctly by adhering to the specifications of the specified HTML version.
<!DOCTYPE html> directive defines the HTML version 5
HTML document has two parts
1. Head Section <head></head>
2. Body Section <body></body>
Head section contains the sub tags that does not show any data on the web page. For example
<meta>, <script></script>, <style></style> etc.
Body section contains the sub tags that show some data on the web page. For example
<p></p>, <h1></h1>, <video></video>, <table></table> etc.
Comments
Post a Comment
Dear Students and Readers, your comments are valuable for us.
For any issue please share your views with us on our official email ID info@vigorcouncil.org