what is meta tag?

what is meta tag?

Junior Developer Asked on June 4, 2018 in HTML.
Add Comment
1 Answer(s)

Meta elements are tags used in HTML and XHTML documents to provide structured metadata or information about a Web page.Generally they are part of a web page’s head section. You can use <meta> tag to specify keywords related to the web page and later the keywords are used by the search engines while indexing your webpage.

Example:
Here I am adding Learn,Skills,Knowledge Share as meta keywords about the webpage.


<!DOCTYPE html>

<html>

<head>

<title>Meta Tags Example</title>

<meta name = "keywords" content = "Learn,Skills,Knowledge Share" />

</head>

<body>

<p>Thank you for visiting my page.</p>

</body>

</html>

Team Leader Answered on June 6, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.