What is the tag or an attribute?
Answers
Answered by
3
Tags are used to mark up the start and end of an HTML element. A start tag consists of an opening angle bracket ( < ) followed by the element name, zero or more space separated attribute/value pairs, and a closing angle bracket ( > ). A start tag with no attributes: <p>
Answered by
2
Attribute
an attribute define a property for an element consist of an attribute/value pair.like: name="value"
-Attribute are always specified in the start tag.
Tag
tag is use to opening and closing to the html
like for opening tag.
<html>
closing tag
</html>
Similar questions