Computer Science, asked by Simran2102, 3 months ago

What is an attribute of tag in HTML. Please explain to the point answer.​

Answers

Answered by gaganadithyareddy9
0

Answer:

Attributes of a tag are used in a tag to perform specific function.. '

Example:

<form onsubmit="submitted()"> .. </form>

Here onclick is an attribute of form tag and it performs a task which is calling a function when the form is submitted..

// HOPE THIS HELPS YOU!!

Similar questions