CBSE Class 10 Computer Applications Question 130 of 176

HTML I — Basic HTML Elements — Question 3

Back to all questions
3
Question

Question 3

What is an attribute in HTML ?

Answer

An attribute is a special word used inside tag to specify additional information to tag such as color, alignment, etc. For example, 'bgcolor' attribute of <BODY> tag is used to set the background colour of an HTML document.

<BODY bgcolor = "white">