Which of the following are well formed XML fragments?

Options
- < myElement myAttribute="someValue’/>
- < myElement myAttribute=someValue/>
- < myElement myAttribute=’someValue’>
- < myElement myAttribute="someValue"/>


CORRECT ANSWER : < myElement myAttribute="someValue"/>

Write your comments


Enter the code shown above:

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


Advertisement