Structure of a Word document

Documents in Word have a hierarchical structure.

Document structure

Different types of properties apply to different units in the hierarchy:

Word also recognizes words and sentences — for instance, if you double-click in the text you will select a word, and if you control-click, you will select a sentence. However, these units can’t have formatting automatically associated with them.

In addition to these parts of the main document, there are other special kinds of text which Word refers to as other “stories”. These include footnotes, comments, headers and footers, and the like. These items are stored separately from the main text and require special commands to access and edit.

Finally, customizations such as style definitions, macros and toolbars may either be stored in the document or in the document's associated template.