What is a basic structure of the HTML page?
Experience Level:
Junior
Tags:
HTML
Answer
- Every HTML page has the
<html>
element. This element serves as a main container for the HTML document parts. - Within the <html> element there is the <head> element and the <body> element
- The
<head>
element contains meta-data describing the HTML document. - The
<body>
element contains the HTML element content.
<html>
<head>...</head>
<body>...</body>
</html>
Related HTML job interview questions
-
What is a <span> tag?
HTML Junior -
What is a <div> tag?
HTML Junior -
What is the difference between html Element and Attribute?
HTML Junior -
How can you display HTML code of a web application?
HTML Junior -
What is HTML used for?
HTML Junior