Prerequisites
The.com Basics HTML Head
Intro
A webpage document is made up of two main sections, the body and the head, each with its own respective HTML tags <body>
and <head>
. Different Elements are available depending on if you are editing the body or head.
The head is not directly viewable to the user. It contains meta-information about your webpage, including the document title, favicon, scripts, and SEO-related elements.
Adding and editing elements in the head of your page works the same way, though some Elements are not available because of HTML syntax rules.
Switching to the Head
To switch to the head, click the Corner menu on the first element in the Element's column and then click Head.
Common Elements
When editing the head, you're likely to encounter the following elements
- Document Title - The text to display on the browser tab of your page.
- Favicon - The icon file to display on the browser tab of your page.
- External Link - loads a resource (ex. a stylesheet) from an external source.
- Metadata - Used to add meta-information about your page, like SEO.
- Stylesheet - Add custom CSS rules
- Script - Add custom JavaScript code or link to an external script.
Comments
0 comments
Please sign in to leave a comment.