Very good to all, because I have not seen a much wider topic, I wanted to take advantage of sharing something about the many tags used in HTML5, new and old. This learning can be used so that the newest campers can feel supported and advance correctly in the challenges of HTML5.
I will go slowly explaining the most common labels, to go deeper into the use of more complex. And I know that my very limited experience is not much, but I will contribute the best and simplest possible so that the study is not overwhelming.
First, I’ll start by exposing a very common HTML code with which many of the sites begin to be schematized:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> </body> </html>
A base document is divided into three parts: the “doctype”, the header (between head tags), and the body (located between the “body” tags). A doctype defines the schema with which the document will be built in a web browser. The use of the doctype is mandatory, since without this, the browser will use a mode known as “backward compatibility” (or quirks), which will recreate the html in its most basic version, causing the document to be displayed with errors or Absences.
The second line is the html tag as such. Here the construction of the scheme document begins. . It is possible to leave it empty or, as in this case, to add a language attribute. Then come the head and body .
The tags that are located in “body” are the ones that will actually be displayed in the browser. Such labels are those that I will elaborate on in future chapters, such as headings, tables, forms, and some elements that are called “semantics”.
Now, you can contribute in the comments some details that have escaped me, but I will add more things as you add more entries to this wiki.