Three militants are killed in an encounter with the security forces near the Line of Control (LoC) in Uri area of north Kashmir, police say.