HTML stands for Hypertext Markup Language and is used to define the structure and layout of web pages. HTML documents contain tags that indicate how the document should be structured and displayed in a web browser. The basic structure of an HTML document includes html, head, title, and body tags. Common text formatting tags in HTML include headings, paragraphs, line breaks, bold, and italics.