I tried the following code :
This shows output as :
The results are printed vertically.
What i want to actually achieve is create a 5 x 5 grid of black color.
I am unable to do this as whenever i create a new div it always comes vertically down.
How to make 5 x 5 grid and place elements horizontally and vertically using HTML CSS.