HTML is a markup language used to create web pages. It uses tags to describe and format the structure and content of a web page. An HTML document has two main parts - the HEAD and the BODY. The HEAD contains metadata like the title and is not visible. The BODY contains all the visible content, including text, images, and other media. To create a basic HTML document, it needs tags for the HTML, HEAD, and BODY elements.