What is the root element in the XML example shown?, a) <heading>, b) <note>, c) <body>, d) <to>, Which elements appear inside the <note> element?, a) table, row, column, data, b) to, from, heading, body, c) title, date, content, footer, d) from, sender, message, date, The <!DOCTYPE note [...]> line is used to:, a) Display text in bold, b) Link to a CSS file, c) Define the document’s structure rules, d) Add color formatting to elements, The line <!ELEMENT note (to,from,heading,body)> describes:, a) The attributes of the note element, b) The order of child elements inside <note>, c) The data type of the note element, d) A comment inside the XML, The keyword #PCDATA in the DTD indicates:, a) The element contains numbers only, b) The element contains parsed character data (text), c) The element contains nested tags, d) The element is empty, If the element <heading> contains the text Reminder, this matches the DTD rule:, a) Because the DTD says the element must contain text, b) Because <heading> must contain another element, c) Because <heading> must be empty, d) Because <heading> is optional, If you wanted to add a new element <date> to the note, what must you do in the DTD?, a) Only add <!ELEMENT date (#PCDATA)>, b) Only add date inside <note>, c) Add it in the parent element list and define its data type, d) Remove one existing element first, The main purpose of a DTD is to:, a) Check that XML follows the correct structure, b) Display XML in a browser, c) Convert XML into HTML, d) Encrypt XML data, Which of the following best describes the relationship between the DTD and the XML file?, a) The XML file replaces the DTD, b) The XML file must follow the rules defined by the DTD, c) The DTD automatically updates the XML content, d) They do not need to be related.

Leaderboard

Visual style

Options

Switch template

)
Continue editing: ?