0

Is this answer true? ( I have recheked it)

Friends the question is that "The class attribute may specify one or more class names for an element in HTML" I think, False, because only one class name can be defined for a element in HTML. What's your ?

28th Apr 2019, 5:58 AM
Vikash Kumar
Vikash Kumar - avatar
1 Odpowiedź
+ 3
I think you have confused about id and class attributes. It is the id that should have only 1 value and unique for a given element. An element can have unlimited classes. When providing more than 1 class you have to give the values like this: class="class1 class2 class3"
28th Apr 2019, 6:03 AM
Seniru
Seniru - avatar