Glenn_CostaRica
What is HTML?
Itâs a markup language, instead of a regular programming language. HTML = âHypertext Markup Languageâ.
What is HTML used for?
Itâs a kind of code that we use to specify how the structure of a web page would be, and how the content would be rendered. One can use HTML in order to determine the big elements that will compose a page, like lists, tables, images, paragraphs or the whole structure.
Why are we learning HTML?
Our final goal is to learn how to program functionaly on top of a Blockchain. This functionality will exist as a kind of backend, or code that is not in our computers. However, we will always need code that runs on our own computers too in order to be able to access remotely the main code that is on the Blockchain. So, we need HTML (and later JavaScript) in order to create web pages, as applications, that let us interact with the code on the backend from our own computers. We will create web pages to be able to access and use our own Blockchain code.
What is an HTML tag?
A tag is a symbol or a set of symbols that we use to determine a type of element that we want to use in our page, as a paragraph, a text or even some properties we want to apply to a text (like to make the text bold or to color it).
What is the structure of an HTML tag?
There usually are OPENING TAGS: tags that determine that some new type of element starts, and also CLOSING TAGS that indicate that this same element ends there (or, in other words, that the instructions related to the element end there).
Examples of opening tags:
To open a new paragraph:
To open a new image section: ![]()
Examples of closing tags:
To close a paragraph:
To close an image section:
What is an attribute?
An attribute is a characteristic that we give to an element. We represent it as a nested instruction, or a nested piece of code, inside the code for the element to which the attribute is referring to! For example: If we have the element PARAGRAPH (code with the instructions to create a space for a paragraph on our page) inside our HTML document, then, inside this code, we can add as an attribute, the instruction STRONG, to indicate that we want the font to rendered as bold letters. Like this
This paragraph will be rendered as strong letters, since we are using the tag STRONG here!!
What is the anatomy of an HTML document?
Itâs the basic macro structure that the HTML code for a complete website must have in order to work properly as a web page. The most basic structure includes all the basic sections and elements that the most simple page requires.