HTML - Programming Language (MCQ) questions for Q. 27563

Q.  The elements <DIV> and <SPAN> have the following characteristics
- Published on 26 Feb 17

a. Element <DIV> inherits properties defined for <SPAN> in a stylesheet
b. Elements <SPAN> and <DIV> define content to be inline or block-level
c. <DIV> and <SPAN> are used as alternatives for the element <P>
d. <DIV> is used inside element <P>.

ANSWER: Elements <SPAN> and <DIV> define content to be inline or block-level

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)