What is an HTML element? Give structure of an HTML element.
Answers
Answered by
27
an <html> tag is the root tag of an html document . this is only due to this tag that we can identify an html document . it has an attribute lang . it contains all other elements which are needed for creating an html doc.
its structure is :-
<html>
<head>
<title>its an html document </title>
</head>
<body>hey!!this the structure of an html document
</body>
</html>
its structure is :-
<html>
<head>
<title>its an html document </title>
</head>
<body>hey!!this the structure of an html document
</body>
</html>
Answered by
6
Answer:
HTML is a hypertext markup language used to create web pages. Here is the basic structure.
<!DOCTYPE html>
<html>
<head>
<title>My Webpage Title</title>
</head>
<body>
<h1>My first heading</h1>
<body>
</html>
Explanation:
If you want to learn HTML for beginners level, here is a good resource
https://codewithrasbin.com/html-for-beginners-course-lesson-3-html-introduction-and-tools-to-write-html-code/
Hope this helps!
Similar questions