- On a website, what is the purpose of HTML code? HTML is the standard for describing the structure and presentation of information on the Internet. HTML keywords and tags are used to format and display the content of pages on the web.
- What is the difference between an element and a tag? An HTML 'tag' is just the opening or closing entity, whereas an 'element' also includes its contents.
- Why do we use attributes in HTML elements? Attributes changes the default functionality of an element type.
- Describe the purpose of the head, title, and body HTML elements. The head contains metadata, including the title, style elements, meta tags, external links and scripts. The title is what is displayed in the active browser tab. The body contains all the contents of the HTML document.