HTML Topics
Day 1 :
1. Introduction of Html:
Who has invented HTML?
- Sir Tim Berners-Lee
https://home.web.cern.ch/science/computing/birth-web
Growth of HTML:
Nested tags :
<p> Welcome
<h4> Hema
<h1>Coding School</h1>
</h4>
</p>
3. Structure of HTML :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Hema coding school</h1>
</body>
</html>
Task:
1. Complete VS code installation
Interview Questions:
1. What is the purpose of the <!DOCTYPE html> declaration in an HTML document?
2. Describe the purpose of the <meta charset="UTF-8"> tag in an HTML document?
3. Explain the importance of the opening and closing tags in HTML?
1. declaration is an essential part of an html document type defining and informing the web browser about the version of html that is being used in the document
ReplyDelete2.tag in an html document is used to define the character encoding for the webpage.
3.opening and closing tags are important because they allow browers to understand the structure of an html document.