What is element and attributes in XML

Q

What is element and attributes in XML?

✍: Guest

A

In the below example invoice is the element and the invnumber the attribute. <invoice invnumber=1002></invoice>

2007-10-31, 5098👍, 0💬