HTML meta

Previous
Next

Meta tag:

  • It is used to provide information to search engine about web page or website.
  • The meta keywords provided to search engine by which it will identify the website which is on the server.
  • Using meta tag, we can provide the description of the web page.
  • We can also provide the auto refresh option to the web page.

Syntax to provide keywords to the search engine:

            <meta name=”keywords” content=”online search, google, google home, google India”>

Syntax to provide the description:

            <meta name=”description” content=”description text”>

Syntax to auto refreshing:

            <meta http-equiv=”refresh” content=”5″>

  • By using this element we can provide the auto refresh option in the web page.
  • By using “content” attribute we can set the time interval.
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="refresh" content="7" scrollamount="30">
	</head>
	<body bgcolor="cyan">
			<h1><marquee>Welcome</marquee></h1>
	</body>
</html>
Previous
Next

Courses Enquiry Form