HTML – Questions
1. What is HTML?
HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content.
2. What is HTML used for?
HTML is a markup language that defines the structure of our content. HTML consists of a series of elements, which you use to enclose, or wrap, different parts of the content to make it appear a certain way, or act a certain way.
3. Why are we learning HTML?
To build the front-end side of a webpage
4. What is an HTML tag?
A tag is a piece of code enclosing some text to make it appear or act a certain way
5. What is the structure of an HTML tag?
An opening tag followed by some content and a closing tag. For example: and
6. What is an attribute?
An attribute is a piece of information that can be added to the opening tag to specify characteristics that we wish to keep invisible from the actual content visible on the front-end interface.
7. What is the anatomy of an HTML document?
An HTML document is composed of: a doctype, HTML tags, a head element (used for SEO purposes), the meta charset (defining the characters the content should use, which helps avoid running into issues), a title, and a body.