0 votes
120 views
in HTML by (3.5k points)
edited

What is an attribute in HTML?

1 Answer

0 votes
by (3.5k points)
edited

HTML attributes help to provide the additional information about HTML elements.

  • All HTML elements always have attributes
  • Attributes provide additional information about elements
  • Attributes always have the start tag
  • Attributes usually use in name/value pairs like: name=”value”

Related questions

0 votes
1 answer 128 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 133 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 133 views
0 votes
1 answer 142 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...