luvvef.blogg.se

Head outline
Head outline












head outline

The meta tag is a metadata element used to add more metadata to your website than the kind that non-meta tags like title provide. Metadata in the head tag includes meta tags, title tags, link tags, scripts, stylesheets, and more. Search engines especially use this data to rank your website. These are visually invisible data to the user, but they provide information about your website's content. The head tag houses the metadata of your website. The default value is "unknown", so it is recommended that you always specify a language.ĭefining a language helps screen readers read words correctly and helps search engines return language-specific search results. It also has the lang attribute, which you can use to specify the language of the text content on a website. It houses the head tag, the body tag, and every other HTML element (except the DOCTYPE) used in your website.

head outline

The html tag is the root of the HTML document. This is important, because without this declaration, HTML5 elements like section, article, and so on may not be rendered correctly. tells the browser to render the HTML codes as HTML5 (as opposed to some other version of HTML). This element is the doctype declaration of the HTML file. In the rest of this article, I'll explain what each part of this boilerplate means.

head outline

A basic boilerplate for an HTML file looks like this: HTML has different tags, some of which have semantic meanings.














Head outline