Pre-work Day 1:
-
On a website, what is the purpose of HTML code?
HTML code is responsible for the structure of a website, in how content is displayed on the page. -
What is the difference between an element and a tag?
HTML elements inform the browser of certain meanings or characteristics of the information displayed within the element's opening and closing tags, as represented by left and right-angle brackets, and a forward-facing slash for the closing bracket. -
Why do we use attributes in HTML elements?
Attributes provide additional information about the content contained within an element. They are situated on the opening tag of the element and consist of two parts: a name and a value, separated by an equals sign.