Minecraft wiki entry for Secret_door, associated text: To help in remembering your location, press F3 to show the coordinates so you can take a screenshot.
To prevent someone from seeing your name tag floating around, sneak or use an Invisibility potion.