Markup languages like HTML or XML define document structure and formatting. Text appearance (B) is controlled through styling tags and attributes, while text structure (D) is defined through hierarchical element organization. Programming events and data relationships are handled by programming languages, not markup languages.