HTML page structure & output
Explanation
• The declaration <!DOCTYPE html> tells the browser that this is an HTML5 document.
• The <html> element is like the main container of an HTML page.
• Inside the <head> element, you can find information about the HTML page.
• The <title> element gives the HTML page a name that appears in the browser's title bar or tab.
• The <body> element holds all the stuff you see on the page, like headings, paragraphs, pictures, links, and more.
• With <h1>, you can make a big heading.
• And <p> is for making paragraphs.
What is an HTML Element?
An HTML element is defined by a start tag, some content, and an end tag:
<tagname> Content goes here... </tagname>
What is an HTML Element?
The HTML element is everything from the start tag to the end tag:
<h1>My First Heading</h1>
<p>My first paragraph.</p>