Categories
HTML Tutorials

Handling metadata with 

Literally, metadata means data or information about data. Thus, the <meta> element is used to provide information about the HTML document inside which it appears. All <meta> elements always appear inside the HTML <head>. They can also define keywords for search engines, describe document content, identify the document’s author, define a document refresh interval (the interval at which a page automatically reloads itself), and more.

<html>
   <head>
      <meta charset="UTF-8"> <!-- defines default HTML character codes -->
      <meta name="keywords" content="HTML, CSS, meta tag examples">
      <meta name="author" content="Ed Tittel"> <!-- identifies author -->
      <meta name="description" content="This is an example of a meta description." > <!-- meta element description-->
      <meta http-equiv="refresh" content="1800"> <!-- refresh every 30 mins -->
      <title>Lots of head markup, no body</title>
   </head>
   <body></body>
</html>