Name Tag is an item used to rename mobs, allowing players to personalize their livestock, pets, or any nameable entity. Once an entity is named, it will display the chosen name above its head, and the name will be visible even through walls. Renaming also prevents despawning, making it particularly useful for keeping valuable or rare creatures. To use it, players must first name the Name Tag on an anvil, then right-click on the entity.
The numerical item ID for Name Tag is 421
Numerical item IDs will only work in Minecraft versions below 1.13.
The item ID for Name Tag is minecraft:name_tag
This is the spawn command to give yourself Name Tag in Minecraft which includes the Minecraft /give command. If you are using the Essentials plugin you will need to use /minecraft:give instead of /give