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.
Related HTML job interview questions
What is a <span> tag?
HTML JuniorWhat is a <div> tag?
HTML JuniorWhat is the difference between html Element and Attribute?
HTML JuniorHow can you display HTML code of a web application?
HTML JuniorWhat is HTML used for?
HTML Junior