Importance of title and meta tags

 Title Tag

A title tag is an HTML element that specifies the title of a web page. Title tags are displayed on search engine results pages (SERPs) as the clickable headline for a given result, and are important for usability, SEO, and social sharing. The title tag of a web page is meant to be an accurate and concise description of a page's content.

Code sample

<head><title>Example Title</title></head>


Meta Tags

Meta tags are pieces of information you use to tell the search engines and those viewing your site more about your page and the information it contains. Meta tags include:

Title tags:  the title of your page, which should be unique for every page you publish

Meta description:  a description of the content on the page

Viewport tag:  impacts how your content appears on mobile devices

Robots:  can be used to indicate content that you want a “noindex” or a “nofollow”

Hreflang tags:  allows the search engine to identify the language and country you want content displayed for when you have an international audience

Canonical tags:  used to specify the primary or principle version of the page

Open graph tags: used to specify which assets show up in title and image by default when sharing links on social sites

Content type:  impacts how your page is rendered in the browser

Meta tags have varying levels of importance for brands based upon the type of content being produced and how you want the material indexed. Given that meta tags are pieces of code, it is generally recommended that you do not include tags that you do not need but that any tags that are important for your goals should not be neglected.


No comments:

Write a program in PHP to reverse a number

A number can be written in reverse order. For example 12345 = 54321 <?php   $ num = 23456;   $ revnum = 0;   while ($ num > 1)   {   $...