what is an attribute in HTML
Answers
Answered by
8
HTML attributes are special words used inside the opening tag to control the element's behaviour. ... An attribute either modifies the default functionality of an element type or provides functionality to certain element types unable to function correctly without them.
Answered by
1
Answer:
Attributes define additional characteristics or properties of the element such as width and height of an image. Attributes are always specified in the start tag (or opening tag) and usually consists of name/value pairs like name="value" . Attribute values should always be enclosed in quotation marks.
Similar questions
English,
3 months ago
Political Science,
3 months ago
Computer Science,
7 months ago
Math,
7 months ago
Math,
11 months ago
Physics,
11 months ago