Computer Science, asked by cjayant694, 6 hours ago

what is the role of tag and attribute in HTML.​

Answers

Answered by paridhi2615
3

Answer:

HTML attributes generally come in name- value pairs, and always go in the opening tag of an element. The attribute name says what type of information you're providing about the element, and the attribute value is the actual information.

HTML tags are used to hold the HTML element. HTML element holds the content. HTML attributes are used to describe the characteristic of an HTML element in detail. ... HTML elements specifies the general content. HTML attributes specify various additional properties to the existing HTML element.

Explanation:

HOPE IT HELPS!!!

MARK IT AS BRAINLIEST!!!

Similar questions