Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the given options best describes the truthfulness of the following statements?

i) Class is one of the html global attributes which specifies one or more class names for an element (refers to a class in a style sheet).
ii) HTML is a markup language used for server-side processing.
iii) CSS describes how HTML elements are to be displayed on screen, paper, or in other media.

  • A.i-True, ii-True, iii-True
  • B.i-False, ii-True, iii-True
  • C.i-True, ii-False, iii-True
  • D.i-False, ii-True, iii-False

Answer: C

Statements i and iii are true and ii is false. The class attribute is one of the HTML global attributes and gives one or more class names to an element, referring to a class in a style sheet. CSS describes how HTML elements are displayed on screen, paper or other media. HTML is a markup language that structures a page and is interpreted by the browser, not a language for server-side processing, so statement ii is false and the options that mark it true are wrong.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.