Day 1
On a website, what is the purpose of HTML code?
- Describes the structure of pages on a screen by adding code words we want to appear on those pages.
What is the difference between an element and a tag?
- Element: Tells the browser something about the information that sits between tags. It comprises the opening and closing tag and any content that lies between it
- Tags: Are the containers of the element and usually are in pairs (an opening and a closing tag accompanied with a forward slash to indidicate the closing).
Why do we use attributes in HTML elements?