HTML 5 – The Brainstorm!

Hello tribe! today we are going to talk about the html tags that go inside the head of the document! Bring out the umbrella because it’s raining brains! halleluyah! 🎼

As we had mentioned so far, in the structure of an HTML document there are two main …


This content originally appeared on DEV Community and was authored by Manu Martinez

Hello tribe! today we are going to talk about the html tags that go inside the head of the document! Bring out the umbrella because it's raining brains! halleluyah! 🎼

As we had mentioned so far, in the structure of an HTML document there are two main HTML tags: "head" and "body" . The head tag contains the metadata tags (information about the document) as well as making connections or relationships with other documents and the body tag allows us to display the content.

"Connection" tags:

  • Title : title of the web page
  • meta: where you set data such as the language developed on the page.
  • Script: to load js
  • Style: to load css on the current page
  • Link:In my opinion the most important because it allows to load css, improves SEO, establishes relationships with other pages, or alternative versions of our website etc... It is the Swiss knife of tags!

Examples

<head>
        <title>My cute page</title>
        <meta charset="utf-8">
        <link rel="alternate" href="document-en.html" hreflang="en" /> //create a alternative page
</head>

👁 Script is best placed in the body and Style with a link.

Meta tag:

Perhaps the tag with the greatest number of possibilities in the header of an HTML document is the tag. In it, and through attributes, we can indicate a large amount of metadata to the document.

Meta has the following attributes:

  • description
  • keywords
  • author
  • language
  • generator
  • theme-color
  • viewport

If you want me to go deeper into tags, let me know in the comments! Well tribe that's all for now, see you in the next post and remember to always be the best version of you!


This content originally appeared on DEV Community and was authored by Manu Martinez


Print Share Comment Cite Upload Translate Updates
APA

Manu Martinez | Sciencx (2022-01-19T17:44:36+00:00) HTML 5 – The Brainstorm!. Retrieved from https://www.scien.cx/2022/01/19/html-5-the-brainstorm/

MLA
" » HTML 5 – The Brainstorm!." Manu Martinez | Sciencx - Wednesday January 19, 2022, https://www.scien.cx/2022/01/19/html-5-the-brainstorm/
HARVARD
Manu Martinez | Sciencx Wednesday January 19, 2022 » HTML 5 – The Brainstorm!., viewed ,<https://www.scien.cx/2022/01/19/html-5-the-brainstorm/>
VANCOUVER
Manu Martinez | Sciencx - » HTML 5 – The Brainstorm!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/19/html-5-the-brainstorm/
CHICAGO
" » HTML 5 – The Brainstorm!." Manu Martinez | Sciencx - Accessed . https://www.scien.cx/2022/01/19/html-5-the-brainstorm/
IEEE
" » HTML 5 – The Brainstorm!." Manu Martinez | Sciencx [Online]. Available: https://www.scien.cx/2022/01/19/html-5-the-brainstorm/. [Accessed: ]
rf:citation
» HTML 5 – The Brainstorm! | Manu Martinez | Sciencx | https://www.scien.cx/2022/01/19/html-5-the-brainstorm/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.