Computer Science, asked by erakboro8, 1 year ago

what is an attribute ​

Answers

Answered by saumyaupadhyay
1

Answer:

to believe that something was caused or done by somebody/something.

Answered by Anonymous
0

Answer:

Attributes are used to provide additional information about an element. Every HTML element can have attributes, these attributes will provide extra information about the element.

Attributes accepts two parameters:

  • Name
  • Value

For example-

<elementName attributeName="attributeValue">

<!-- attributeName is written directly after elementName

attributeValue is written inside double quotes -->

Attributes are of many types:

  • href Attribute
  • src Attribute
  • width & height Attribute
  • style Attribute
  • alt Attribute
Similar questions