what are tags and attributes
Answers
Answered by
1
Answer:
HTML attributes are special words used inside the opening tag to control the element's behaviour. HTML attributes are a modifier of an HTML element type. ... For example, the attribute name is used by several element types, but has slightly different functions in each.
Answered by
1
Answer:
Tags give commands to browser and are usually used in <> (angular brackets)
While
Attributes are extra bits of information which can be added to a tag. The purpose of attributes is to add extra information to the tag which can also be used to style the element.
Similar questions