HTML documents consist of HTML tags and text that are used to structure and markup web page content. HTML tags come in pairs with opening and closing tags, are case insensitive, and always surround element content. The basic structure of an HTML document includes a <head> section for metadata and a <body> section for visible page content.