Computer Science, asked by vikasrahul5135, 1 year ago

Sahiba, a website designer with “International Designers Pvt. Ltd.” has written the following code. Observe the code given below and answer the following questions:



Albert
Computer


Manisha
Accounts



i. Are these tags part of HTML code or XML code?
ii. Identify the root element.
iii. Mention any two child elements.
iv. Mention any two attributes.
v. An xml document can have more than one root element. Is it true or false?

Answers

Answered by nikki62
15

1. The following tags are a part of XML

2. The root element is <company>

3. Two child elements: <name>, <dept>

4. Two attributes: "d1", "d2"

5. False, an XML document can have only one root element.

Answered by aqibkincsem
4

"These tags are ideally a part of XML code

The root element that is identified in the code is <company>

The two key child elements that are identified in the code are: <name> and <dept>

The two key attributes that are found in the code are: eid and depid

XML document cannot have more than one root element. Therefore the answer is false.

"

Similar questions