adplus-dvertising
frame-decoration

Question

Which of the following is false regarding an empty element?

a.

It cannot have any attribute

b.

It cannot contain text

c.

It cannot contain other elements

d.

It is a simple element

Answer: (a).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 an empty element?

Similar Questions

Discover Related MCQs

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?

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

Q. Which of the following is used to add an attribute to an element node?

Q. Which of the following methods is used to get a particular element?

Q. Which of the following attributes returns the name of an element?