What are elements, tags and attributes, and the difference between them.

Tags there are three types of tags

<> this is a opening tags

</> this is a closing tags

< /> this is self closing tags

Elements

<> content </> this proper line is known as element

Attributes

<img src=”” alt=”” />

This is a self closing tags and used in this src and alt is a attribute.