KnowledgeBoat Logo

Computer Applications

Which attribute is not valid for <body> tag ?

  1. background
  2. color
  3. vlink
  4. leftmargin

HTML Advanced Features

1 Like

Answer

color

Reason — color is not a valid attribute for <body> tag. The other attributes are used with <BODY> tag to specify the following —

  1. background — It specifies the background image for the document
  2. vlink — It specifies the color of the visited links in a document
  3. leftmargin — It specifies the left margin in a document

Answered By

1 Like


Related Questions