What is common between class and ID?

Both class and ID are used in HTML to assign a value from CSS. The ID is used as an element, whereas the class is used as a block. 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *