There are <meta>
tags and other things you can place in the <head>
of your HTML document. What <meta>
tags etc. and best practices do you make use of in your HTML document to make it more accessible, searchable, optimized etc.
head is required and it should be used just once. It should start immediately after the opening html tag and end directly before the opening body tag.
The <head> tag in HTML is used to define the head portion of the document which contains information related to the document. The <head> tag contains other head elements such as <title>, <meta>, <link>, <style> <link> etc. In HTML 4.01 the <head> element was mandatory but in HTML5, the <head> element can be omitted.
In an HTML file, the html head is the first section in the code containing information about a web page's properties and links to external related files. For example, in the HTML head, you can have the title of the page, meta tags, CSS code, Open Graph tags, and JavaScript code.
To create a header for a HTML document, we use the header tag. The opening header tag is <HEAD> and the closing header tag is </HEAD>.
In my case:
Content-type
, description
, and keywords
media=""
).<script>
tag that links to external javascript files.All tags should follow the W3C's standard. The W3C site has a more technical and detailed section about the HTML <head>
section.
Do your users a favor and make their IE engine switch to Chrome one when Chrome Frame is installed :)
<meta http-equiv="X-UA-Compatible" content="chrome=1">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With