Coding task · HTML and CSS course · Module 1: HTML Basics
DOCTYPE and Document Structure
Every HTML document has its structure - like a pyramid has its foundations. DOCTYPE tells the browser about the document type, html is the main container, head holds metadata, and body is the visible content.
Task
Create a complete document: <!DOCTYPE html>, <html lang='en'>, <head> with <meta charset='UTF-8'>, <meta name='viewport'...>, <title>, and <body> with a heading and text about Egypt.