What is the difference between monitor 8mm and 12mm

8mm and 12mm both refer to the focal length

Because monitors are short focal length wide-angle lens, the shorter the focal length, the wider the wide-angle, the larger the angle you can see. So 8mm see a greater angle

But because the resolution is the same, so the larger the view, the smaller the object, so 12mm can see farther.