What is Resolution?
Resolution is the number of pixels in an image, usually written as width × height, such as 1920 × 1080.
More pixels allow more detail and bigger files. For web use, an image rarely needs to be wider than the space it is shown in, and sending a smaller file makes pages load faster.
PPI and DPI describe density for printing and do not change the pixel count by themselves.