Difficulty: Easy
Correct Answer: elements and attributes.
Explanation:
Introduction / Context:
XML Schemas (XSD) define the structure and data types of XML documents. Understanding the core building blocks of a schema helps you read and design robust XML vocabularies that validate real-world data reliably.
Given Data / Assumptions:
Concept / Approach:
XML documents consist of nested elements which may carry attributes. XSD mirrors that: it defines element declarations (naming, nesting, occurrence, and type) and attribute declarations (name, type, use). Complex types combine element/attribute content models; simple types restrict scalar values.
Step-by-Step Solution:
Verification / Alternative check:
Any XSD example shows 
Why Other Options Are Wrong:
Properties/methods: Programming concepts, not schema constructs. 
Structure/data: Too vague; XSD expresses structure via elements/attributes and types. 
Tables/relationships: Relational terminology, not XML’s tree model.
Common Pitfalls:
Overusing attributes for hierarchical data that should be elements; attributes are best for metadata-like, non-hierarchical properties.
Final Answer:
elements and attributes.
Discussion & Comments