HTML - Metadata Content

> (World Wide) Web - (W3|WWW) > HyperText markup Language (HTML)

1 - About

Metadata content is content that sets up the presentation or behavior of the rest of the content, or that sets up the relationship of the document with other documents, or that conveys other “out of band” information.

Advertising

3 - Elements

3.1 - HTML namespace

3.2 - Other namespaces

Elements from other namespaces whose semantics are primarily metadata-related (e.g. RDF) are also metadata content.

Example: in the XML serialization, one can use RDF, like this:

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:r="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 <head>
  <title>Hedral's Home Page</title>
  <r:RDF>
   <Person xmlns="http://www.w3.org/2000/10/swap/pim/contact#"
           r:about="http://hedral.example.com/#">
    <fullName>Cat Hedral</fullName>
    <mailbox r:resource="mailto:[email protected]"/>
    <personalTitle>Sir</personalTitle>
   </Person>
  </r:RDF>
 </head>
 <body>
  <h1>My home page</h1>
  <p>I like playing with string, I guess. Sister says squirrels are fun
  too so sometimes I follow her to play with them.</p>
 </body>
</html>

This isn't possible in the HTML serialization, however.

Advertising
web/html/metadata.txt · Last modified: 2019/02/09 11:29 by gerardnico