Jump to content

Recommended Posts

Posted

The HTML <head> Element

 

The <head> element is a container for all the head elements. Elements inside <head> can include scripts, instruct the browser where to find style sheets, provide meta information, and more.

 

The following tags can be added to the head section: <title>, <style>, <meta>, <link>, <script>, <noscript>, and <base>.

The HTML <title> Element

 

The <title> tag defines the title of the document.

 

The <title> element is required in all HTML/XHTML documents.

 

The <title> element:

 

    defines a title in the browser toolbar

    provides a title for the page when it is added to favorites

    displays a title for the page in search-engine results

 

A simplified HTML document:

<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>

<body>
The content of the document......
</body>

</html> 

The HTML <base> Element

 

The <base> tag specifies a default address or a default target for all links on a page:

<head>
<base href="http://www.mrhotfire.com/shares/"><base target="_blank">
</head> 

The HTML <link> Element

 

The <link> tag defines the relationship between a document and an external resource.

 

The <link> tag is most used to link to style sheets:

<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head> 

The HTML <style> Element

 

The <style> tag is used to define style information for an HTML document.

 

Inside the <style> element you specify how HTML elements should render in a browser:

<head>
<style type="text/css">
body {background-color:yellow}
p {color:blue}
</style>
</head> 

 

The HTML <meta> Element

 

Metadata is data (information) about data.

 

The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable.

 

Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.

 

The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.

 

<meta> tags always goes inside the <head> element.

<meta> Tags - Examples of Use

 

Define keywords for search engines:

<meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">

Define a description of your web page:

<meta name="description" content="MxC shares">

Define the author of a page:

<meta name="author" content="Hege Refsnes">

Refresh document every 30 seconds:

<meta http-equiv="refresh" content="30">

 

The HTML <script> Element

 

The <script> tag is used to define a client-side script, such as a JavaScript.

 

The <script> element will be explained in a later chapter.

HTML head Elements

Tag 	Description
<head> 	Defines information about the document
<title> 	Defines the title of a document
<base> 	Defines a default address or a default target for all links on a page
<link> 	Defines the relationship between a document and an external resource
<meta> 	Defines metadata about an HTML document
<script> 	Defines a client-side script


	Defines style information for a document

 

 

Credits Olympus,Internet,ME.

<style>

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • We have updated the information about our current assortment and redesigned the topic — visit us to be the first to see new products and services of our projects! Relevant links: Digital goods store: Click Telegram bot: Click SMM Panel: Click Our project is actively seeking new suppliers and partners! — Snapchat old and new accounts | With snapscores | GEO: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | GEO: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) — Facebook old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) | With or without friends | GEO: Europe/USA/Asia — Threads accounts | Full access via email (possibly also with connected 2FA password) — TikTok/Facebook/Google ADS agency ad accounts Contact us below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support Telegram channel: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  Discord: socnet_support  Discord server: https://discord.gg/y9AStFFsrh Email: solomonbog@socnet.store  Also via these contacts you can: — Get consultation about wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store 
    • We have updated the information about our current assortment and redesigned the topic — visit us to be the first to see new products and services of our projects! Relevant links: Digital goods store: Click Telegram bot: Click SMM Panel: Click Our project is actively seeking new suppliers and partners! — Snapchat old and new accounts | With snapscores | GEO: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | GEO: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) — Facebook old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) | With or without friends | GEO: Europe/USA/Asia — Threads accounts | Full access via email (possibly also with connected 2FA password) — TikTok/Facebook/Google ADS agency ad accounts Contact us below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support Telegram channel: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  Discord: socnet_support  Discord server: https://discord.gg/y9AStFFsrh Email: solomonbog@socnet.store  Also via these contacts you can: — Get consultation about wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store 
    • We’ve finally prepared the long-awaited client screenshots! Now everyone can see how the game will look on our server. We did our best to keep the atmosphere intact while also adding improvements for players’ comfort. All the images and details are already waiting for you in the new forum post — take a look and share your thoughts!
    • We have updated the information about our current assortment and redesigned the topic — visit us to be the first to see new products and services of our projects! Relevant links: Digital goods store: Click Telegram bot: Click SMM Panel: Click Our project is actively seeking new suppliers and partners! — Snapchat old and new accounts | With snapscores | GEO: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | GEO: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) — Facebook old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) | With or without friends | GEO: Europe/USA/Asia — Threads accounts | Full access via email (possibly also with connected 2FA password) — TikTok/Facebook/Google ADS agency ad accounts Contact us below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support Telegram channel: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  Discord: socnet_support  Discord server: https://discord.gg/y9AStFFsrh Email: solomonbog@socnet.store  Also via these contacts you can: — Get consultation about wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store 
    • We have updated the information about our current assortment and redesigned the topic — visit us to be the first to see new products and services of our projects! Relevant links: Digital goods store: Click Telegram bot: Click SMM Panel: Click Our project is actively seeking new suppliers and partners! — Snapchat old and new accounts | With snapscores | GEO: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | GEO: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) — Facebook old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) | With or without friends | GEO: Europe/USA/Asia — Threads accounts | Full access via email (possibly also with connected 2FA password) — TikTok/Facebook/Google ADS agency ad accounts Contact us below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support Telegram channel: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  Discord: socnet_support  Discord server: https://discord.gg/y9AStFFsrh Email: solomonbog@socnet.store  Also via these contacts you can: — Get consultation about wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock