What are tags and attribute in HTML? Give Example.
Tags: Tags define the elements on a webpage. They are written in angle brackets, like for a paragraph. Most tags have an opening ( ) and a closing (), but some, like , are self-closing. Attributes: Attributes add extra information to a tag. They are written inside the opening tag as name=”value”, like style=”color:red;”. This…