adplus-dvertising
frame-decoration

Question

Which of the following is false regarding a complex element?

a.

It can contain other elements

b.

It cannot have any attribute

c.

It may be empty

d.

It may contain text

Answer: (b).It cannot have any attribute

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is false regarding a complex element?

Similar Questions

Discover Related MCQs

Q. The syntax for defining an attribute is

Q. Attributes are by default

Q. Restrictions that are incorporated on XML elements are called

Q. Which of the following is false regarding an empty element?

Q. In XML schemas the default model for complex types is

Q. Which of the following represents the correct format of the built-in simple type ‘data’?

Q. In XML schema a Boolean type can hold

Q. Which of the following is used to create a choice?

Q. How many parts are there in the W3C DOM specification?

Q. What is the number of parent nodes that a node in the DOM tree can have?

Q. How many document nodes does a DOM tree have?

Q. Which of the following is used to inspect the type of a node?

Q. What is the value of the node name attribute for a text node?

Q. What is the value of node type attribute for a text node?

Q. Which of the following has a valid node value attribute?

Q. Which of the following has child nodes attributes?

Q. Nodes having a common parent are called?

Q. Which of the following refers to the root element of an XML document?

Q. Which of the following methods is used to create an element type node?

Q. Which of the following methods is used to create a text type node?