Knowee
Questions
Features
Study Tools

What is Metadata? Explain with example how Metadata is included in a document?Also show how can following be achieved with the help of Metadata?(i) Stop the page from being listed.(ii) Set an expiration date(iii) Stop the browser from caching a page.(iv) Give a context for date so that it can take format DD-MM-YYYY

Question

What is Metadata? Explain with example how Metadata is included in a document?Also show how can following be achieved with the help of Metadata?(i) Stop the page from being listed.(ii) Set an expiration date(iii) Stop the browser from caching a page.(iv) Give a context for date so that it can take format DD-MM-YYYY

🧐 Not the exact question you are looking for?Go ask a question

Solution

Metadata is data about data. It provides information about a certain item's content. For example, an image may include metadata that describes how large the picture is, the color depth, the image resolution, when the image was created, and other data. A text document's metadata may contain information about how long the document is, who the author is, when the document was written, and a short summary of the document.

Metadata within a document is typically included in the header of the HTML or XHTML content. This is done using the <meta> tag. The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable.

Here are examples of how to achieve the following with the help of Metadata:

(i) Stop the page from being listed: You can use the 'robots' meta tag to tell search engines not to index the page. For example:

<meta name="robots" content="noindex">

(ii) Set an expiration date: You can use the 'expires' meta tag to specify a date and time for when the document should be considered expired. For example:

<meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">

(iii) Stop the browser from caching a page: You can use the 'pragma' and 'cache-control' meta tags to tell the browser not to cache the page. For example:

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">

(iv) Give a context for date so that it can take format DD-MM-YYYY: There isn't a specific meta tag for this purpose. However, you can use JavaScript or server-side scripting to format the date in the desired format. Alternatively, you can specify the date format in the content or title attribute of the meta tag. For example:

<meta name="date" content="DD-MM-YYYY">

Please note that the browser or search engine needs to be programmed to understand this format.

This problem has been solved

Similar Questions

What is the definition of metadata?

Which of the following is an example of metadata about a webpage?The title of the webpageThe body of the webpageAn <h1> tag on the webpageAll of the above

Define metadata for data about the following:- Students in a college database- Books in a library system- Holidays booked by a person at a workplace• Try to think about what data needs to be kept - willit be a character, date or number?

Metadata highlights the important parts of your website that is crucial for performance tracking in technical SEO.

_______________ is used for creating and managing a collection of digital objects, such as browsing library catalog records and searching published papers. Such descriptive metadata typically contain information about the digital object, such as title, author, organization, creation date and keywords.

1/2

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.