MENU
Question -

What is an attribute in HTML?



Answer -

HTML attribute is a modifier of HTML element. Attributes provide additional information about HTML elements. Attributes are always specified in rhe start tag of an element, after the element’s name. These come in name/value pairs like name=”value”.

Syntax

(content to be modified by the tag)
Where, TAG is the HTML element, name is the name of an attribute, set to the provided value.

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×