|Syntax and mark-up / Working with mark-up|
Detailed metadata associated with a DITA element can be stored in data elements in the flow of the content.
Despite the name, the data element is for metadata stored in the flow of the content within the topic body. It is most useful as the basis for specialising other elements.
Within base DITA, you would most likely use the data element to store information about the source of code fragments, citations, or quotations. However, it is not a commonly used element.
<lq reftitle="Lynch and Horton (2009)" href="http://webstyleguide.com/"> <data name="ref_Lynch_Horton"> <data name="date_retrieved" value="13 September 2009" /> <data name="chapter" value="9" /> <data name="pub_type" value="web" /> <data name="page_URL" href="http://webstyleguide.com/wsg3/9-editorial-style/2-structuring-prose.html" /> <data name="pub_title">Web Style Guide</data> <data name="edition" value="3" /> </data> The inverted pyramid style used in journalism works well on web pages... </lq>How the metadata stored in the data element structure is used is up to the authoring and publishing tools used.