What is a Header Code?
Header Code – On a website, a certain code is placed in the universal header section so that it can be accessible across all pages of the website. Typically in the header code, you’ll find things like Schema Markup, Analytics Code, Adwords Code, and other tools used for tracking data across a website. These are placed in the header code so that they can be rendered and start tracking information as the site loads.
Title tags and meta descriptions are bits of HTML code in the header of a web page. They help search engines understand the content on a page. A page’s title tag and meta description are usually shown whenever that page appears in search engine results. (We’ll look at some examples of this later.)
Well written and compelling meta tags can attract more users to click on your website from the search engine results.
The Title Tags
The title tag is the title element of a web page that summarizes the content found on a page. It will appear in three key places: browsers, search engine results pages, and external sites such as Facebook or Twitter. We’ll look at examples of title tags later.
There’s one important thing to keep in mind. Search engines expect a titles tag to include relevant keywords and phrases that describe what that page is about. So, if the title you create is not relevant for the page, Google can choose to show a different title instead. You don’t want that to happen. Why? Because title tags are a great opportunity to attract prospects to click through to your site so make sure it gives an accurate, concise and compelling summary of what that page is about.
Here’s how the code looks:
<title>Your title here</title>