The target is invisible. What that means isn't simple. From Appendix A of the PHB (or Player's Basic Rules), on conditions:
An invisible creature is impossible to see without the
aid of magic or a special sense. For the purpose of
hiding, the creature is heavily obscured. The creature’s
location can be detected by any noise it makes
or any tracks it leaves.
Attack rolls against the creature have disadvantage,
and the creature’s attack rolls have advantage.
So the target can't be seen, but it can still be located. If the invisible creature doesn't want people to know where it is, it needs to make a Stealth check to stay hidden. Hunter's Mark will give the Ranger advantage on the Perception check needed to find the creature.
Assuming the Ranger's Perception beats the creature's Stealth, the Ranger will be able to tell where the creature is, but the creature will still be invisible, and the Ranger's attacks will still have disadvantage.
You may also want to check out waxeagle's excellent answer here - I think he does a better job than me of explaining the difference between "hidden" and "invisible".