in front of 意思为:“在…的前面,在…的前部”。(泛指在某物的前面)

in the front of 意思为:在…的前面,在…的前部。(指在某物内部的前面)

例如:

There is a hospital in front of the post office.

在邮局前面有一个医院。

The teacher is talking in the front of the classroom.

老师正在教室前面讲话。(指在教室内部的前面)