reading-notes

All About HTML

Q1) What is HTML and why do we use it?

HTML stands for HyperText Markup Language. It is used to structure content for a website. For example, it is used to establish where paragraphs of text are located, where lists are used, and where pictures are insterted.

Q2) What are the 3 main parts of an HTML element?

The three main parts of an HTML element are:

-The opening tag

-The closing tag

-The content

Q3) What is it called when you give an element extra information?

When an element is given extra information, that is called an attribute. They might look something like “class=editor-note”

Q4) What is a semantic element?

A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: “div” and “span” - Tells nothing about its content. Examples of semantic elements: “form” , “table” , and “article” - Clearly defines its content.