Read 04 Challenge
Questions needing answering
- What is HTML and why do we use it?
- What are the 3 main parts of an HTML element?
- What is it called when you give an element extra information?
- What is a semantic element?
Answers to Questions
- HTML is a markup language for structuring how to render a webpage
- an HTML element consists of three parts:
- Opening tag: consists of the name of the elemnt. Can be things like "p", "a", "h1", "img", etc.
- Closing tag: this closes off the tag
- Content: The content of the element
- The extra information to an element is called Attribute
- In programming, Semantics refers to the meaning of a piece of code — for example "what effect does running that line of JavaScript have?", or "what purpose or role does that HTML element have" (rather than "what does it look like?".)
This takes you back to my Reading Notes