I’m going to recommend you roll Warrior to tank, because Warriors can tank any encounter in the game. If for some reason you don’t want to roll Warrior, go Druid. Do not roll Paladin expecting to raid tank, it will not happen except for the unicorn guild who has acres of patience.
So, assuming you went Warrior and you play on a PVP/RP-PVP (let’s hope) server this is what I recommend.
From 10-40, take these talents in the Arms tree:
https://classic.wowhead.com/talent-calc/warrior/023050213325100031
This gives you the best rage management and threat abilities in the game, and will make leveling 30-40 a breeze once you get your Whirlwind Axe.
From 40-60, I recommend the following:
https://classic.wowhead.com/talent-calc/warrior/023050213325100031-05-502301103
This will work for all of your pre-BiS farm tanking needs. Defense doesn’t become really super important until you are fighting super hard hitting higher level mobs, like raid trash and bosses.
Your main issue as a Warrior tank leveling up is going to be rage management. This can be hard to teach. Your priority is Revenge, if Revenge is up, the correct answer is always Revenge. Other than that you will be tabbing through the mobs slapping them with Mortal Strike/Bloodthirst/Shield Slam, Sunder Armor, Battle Shout, Demoralizing Shout. Never use Heroic Strike or Cleave if you are under ~40 rage, it isn’t worth it and will tank your TPS. You can and should use Shield Block to help keep Revenge procs coming in, even without talent points in it.
The other thing that you will just have to learn on your own is pulling. In Vanilla/Classic there aren’t that many times where you can safely charge into a pack. Most of the time you will pull them with a gun/bow to a safe spot. Be patient, let that patrol walk a couple more steps down the hall, etc. A good pull that takes a sec to set up is better than a bad one that wipes the group.
At 60, when it is time to raid you will respec for 1g to any of these, which of course you and your guild have to work out.
Main Tank
https://classic.wowhead.com/talent-calc/warrior/05005001-05-55240110530201051
Off Tank
https://classic.wowhead.com/talent-calc/warrior/05-05050005505010051-5520011
Have fun