HTML is a markup language used to define the structure and layout of web pages. It was created by Tim Berners-Lee in the 1980s at CERN. HTML uses tags to annotate text with semantic meaning like headings, paragraphs, lists, links etc. An HTML document contains HTML tags and elements that are interpreted by browsers to display the page.