uses of meta tag attributes

<head lang="en">
  <meta http-equiv="content-language" content="en">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="keywords" content="website, blog, foo, bar">
  <meta name="author" content="John Doe">
  <meta name="publisher" content="John Doe">
  <meta name="copyright" content="John Doe">
  <meta name="description" content="This short description describes my website.">
  <meta name="page-topic" content="Media">
  <meta name="page-type" content="Blogging">
  <meta name="audience" content="Everyone">
  <meta name="robots" content="index, follow">
  
  <title>My website title</title>
</head>

3.75
4

                                    &lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;&lt;!-- ensures the character encoding --&gt;
&lt;meta name=&quot;keywords&quot; content=&quot;give a short or mid description about the content keywords of your website&quot;&gt;
&lt;meta name=&quot;description&quot; content=&quot;&quot;give a short or mid description about the contents of your website&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;write the name of the author of the webpage&quot;&gt;
&lt;meta name=&quot;refresh&quot; content=&quot;50&quot;&gt;&lt;!-- writing this code will make sure the browser refreshes after every 50seconds --&gt;
&lt;meta http-equi=&quot;refresh&quot; content=&quot;5; url=&quot;write the url of your website&quot;&gt;&lt;!-- writing this code, the browser will automatically redirect to the given page after the provided time , in this case it is 5seconds --&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;&lt;!-- this makes sure that the webpage is supported on all devices --&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;

3.75 (4 Votes)
0
4
3
Chmod 105 points

                                    The &lt;meta&gt; tag defines metadata about an HTML document. Metadata is data (information) about data.

&lt;meta&gt; tags always go inside the &lt;head&gt; element, and are typically used to specify character set, page description, keywords, author of the document, and viewport settings.

Metadata will not be displayed on the page, but is machine parsable.

Metadata is used by browsers (how to display content or reload page), search engines (keywords), and other web services.

There is a method to let web designers take control over the viewport (the user's visible area of a web page), through the &lt;meta&gt; tag (See &quot;Setting The Viewport&quot; example below).

4 (3 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
how to use meta tag on div in html all possible meta tags all necessary meta tags html meta list meta tags htmlk meta tag usage meta tags .com html5 meta description what is a html meta tag how many meta tags should i use meta tage a html what meta tags should i use different types of meta tags where do meta tags go wht is meta in html5 display meta tag html needed meta tags html page meta tags meta description tag where to place meta tag why meta tag0 meta tags you need html page importance of meta tags Meta Tags list metas html meta tag description html html meta name meta tags.com what should i write in meta tag description how many words would include in meta tag description what does meta do in html 5 meta tag in html ? use of meta name description in html necessary meta tags html meta tag html5 meta tags HTML META TAG OF STYLE meta tags example what is meta class meta property attribute how to do meta tags in html meta tag used for html 5 meta tags what is use of meta tag uses of meta tag in html Name attribute for meta tag where to do meta tag meta tags basic meta tag types which tags are used for meta data html full list of meta tags and attributes meta atribute meta tag in html meaning Attributes for element &lt;meta&gt; meta tag url what is meta information html all types of meta tag meta tag within which element meta description html meta tag - description htm meta tags meta tags descriptions meta tags html what is meta tag different meta tags in html meta property type what is meta tag in html explain all the attribute of meta tags in htnl meta tag html meta in html html all meta attributes metatype using meta description tag for a site meta description html tag meta tag is used to give meta-information of a resource. Which of the following are attributes of &lt;meta&gt; element why meta tags are used in html meta property what is meta property meta name html use of meta tags html add meta property description meta attribute in html html meta properties what does meta do in html useful meta tags html description meta tags meta tag in html html description meta tag list of meta tag meta tags development in html HTML meta tags meta tag language html meta meta tags for html meta tags in html meta tags meta tag list of meta tags why we need meta tag in html types of meta tags meta tag attributes What do you mean by Meta Tags? List and Explain any three meta tags with example. html meta tag explained what is meta name keyword in html how to use meta tag in html what does the meat tag do in html meta author name what is name meta tag html what does link metadata do meta tag is uses for meta name author what does meta in html mean what does the meta element mean what is the use of meta tag in html where to put meta tag in html file why we use meta tag in html understanding html meta headers html tag for auther name in content meta in html meaning Contains meta information about the HTML page meta tag in html is used for what is meta in html define html meta html meta tag use use of meta tag in html why is meta tag used in html metadata in html what is the meta tag in html meta tag arributes ?? uses of meta tag attributes
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source