What is a <div> tag ?
Please read more about <div> tag from this article : https://www.geeksforgeeks.org/div-tag-html/
An example on how to use a <div> tag:
Create a <div> that contains multiple fixed size images:
- First, create the <div> tag as mentioned in the previous example and insert multiple images inside a common <div> tag so that all the images have a separate <div> tag and a class name.
- The following example shows how to make a <div> tag that contains multiple fixed-size images:
Explanation: In the above code, we have created a main container <div> class of “images” which is used to store all the images and each image has its own container <div> class of “photo” which can be later used to add special CSS properties to the images.