EADiva has just migrated to a static site. If you see broken links or behavioral errors, please let me know.

<div> Text Division

In contrast to (X)HTML, the <div> element in EAD is only used within the <frontmatter> element. It is used to encode major sections of text which do not fall into the <titlepage> element. Unlike inside the <revisiondesc> element, where one should only use either <change> or >list>, <div> and <titlepage> can both be used within <frontmatter>, since they encode different kinds of material. <div> elements may nest inside each other. Use the <head> element to specify the <div>’s purpose.

Attributes

  • ALTRENDER – not required. Use if the content of the element should be displayed or printed differently than the rendering established in a style sheet for other occurrences of the element.
  • AUDIENCE – not required. Use to set whether the element’s contents will be visible to external users or to internal ones. Possible values are: “internal” and “external.”
  • ID – not required. Creates an ID for element. Can be used for linking.

Subelements

<div> can contain a few generic subelements: <address>, <blockquote>, <chronlist>, <div>, <head>, <list>, <note>, <p>, and <table>.

Our EAD file so far

Let’s put in a preface:

<ead>
	<eadheader>
		<eadid countrycode="us" mainagencycode="dgwl" url="http://www.eadiva.com/sample/">rkt-01</eadid>
		<filedesc>
			<titlestmt>
				<titleproper>Inventory of Something Useful for Learning EAD <date>2012-2013</date></titleproper>
				<subtitle>A totally awesome finding aid with a subtitle too</subtitle>
				<author>Ruth K. Tillman, the EADiva</author>
				<sponsor>Encoding thanks to EADiva's donation of her spare time.</sponsor>
			</titlestmt>
			<editionstmt><edition>1st ed.</edition>
			<p>Didn't need to specify since it's first edition, but wanted to use the fields.</p>
			</editionstmt>
			<publicationstmt>
				<date>2012</date>
				<publisher>EADiva.com</publisher>
				<address>
					<addressline>1600 Pennsylvania Ave</addressline>
					<addressline>Washington, DC, 20001</addressline>
					<addressline>Phone: 202-555-1234</addressline>
				</address>
			</publicationstmt>
			<seriesstmt><p>Bell Family Papers</p>
			</seriesstmt>
			<notestmt>
				<note>
					<p>The materials in this finding aid are based on an actual collection of Sarah J. Bell Kitchin's letters.</p>
				</note>
				<note>
					<p>This finding aid was created as a project for the EADiva.com website.</p>
				</note>
			</notestmt>
		</filedesc>
		<profiledesc>
			<creation>This finding aid was encoded by Ruth K. Tillman, on <date normal="20121118">November 18th, 2012</date>, using Notepad++. Material was generated off the top of her head.</creation>
			<langusage>This finding aid is written in <language langcode="eng">English</language>.
			</langusage>
			<descrules>This finding aid was prepared using Ruth's understanding of EAD and her use of the LOC EAD 2002 official website.</descrules>
		</profiledesc>
		<revisiondesc>
			<change>
				<date normal="20121204">December 4, 2012</date>
				<item>This finding aid was edited by Ruth Tillman in order to clarify contents in eadheader.</item>
			</change>
		</revisiondesc>
	</eadheader>
	<frontmatter>
		<div><head>Preface</head>
		<p>This inventory was prepared as part of the EADiva website to demonstrate EAD encoding of finding aids. It encodes information about the collection of the papers of Sarah Bell Kitchin as well as made-up information used to make the finding aid use more example elements. Like this one.</p></div>
		<titlepage></titlepage>
	</frontmatter>
	<archdesc>
	</archdesc>
</ead>

EAD tag library entry for <div>.