- What is HTML?
- HTML (Hypertext Markup Language)
- What is HTML used for?
- HTML is the code that is used to structure a web page and its content
- Why are we learning HTML?
- It’s good to learn HTML as a foundation for web and blockchain development.
- What is an HTML tag?
- An HTML tag is the definer for the markup language. Basically instructions that we give to a website
- What is the structure of an HTML tag?
a. Opening Tag: Consists of the name of the element (in this case, p), wrapped in opening and closing “angle brackets” . This states where the element begins or starts to take effect. Basically where the paragraph begins.
: Is the same as the opening tag, except that it includes a forward slash before the element name. This states where the element ends
b. Closing Tag
Basically where the paragraph ends - What is an attribute?
- An attribute in HTML contains extra information about the elements that you can change or modify to provide greater information
- What is the anatomy of an HTML document?
a. doctype> - sets rules for the HTML page to follow
b. html> - wraps the contents on the page
c. head> - contains page info that is not content. (keywords, page description, css, character set, etc…)
d. body> - contains the contents of the page ( text, images, video, etc,)
e. meta charset=“utf-8”> - character set of the document, to handle textual content
f. title> - sets the title of the page, which appears in the browser tab