- What is HTML?
HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content.
- What is HTML used for?
It is used to define the structure of your content. It 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.
- Why are we learning HTML?
I think we are learning HTML in order to understand how web pages are created, so that we can eventually learn how to make them interact with the blockchain.
- What is an HTML tag?
HTML tags are the hidden keywords within a web page that define how your web browser must format and display the content. Most tags must have two parts, an opening and a closing part.
- What is the structure of an HTML tag?
The opening tag: This 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,
The closing tag: This is the same as the opening tag, except that it includes a forward slash before the element name. This states where the element ends.
- What is an attribute?
Attributes contain extra information about the element that you donāt want to appear in the actual content. It consists of the attribute ānameā and the attribute āvalue.ā
An attribute should always have the following:
-
A space between it and the element name (or the previous attribute, if the element already has one or more attributes).
-
The attribute name followed by an equal sign.
-
The attribute value wrapped by opening and closing quotation marks.
-
What is the anatomy of an HTML document?