The nature of marksmen is that they (in most cases) act as the strong-arm of their team in terms of sustained damage-output, and must stack damage-items continuously to be relevant to that extent. For this reason, most marksmen have a hard time squeezing armor and HP specifically into their kits.
That being said, marksmen have a few more options for defensive play. Lifesteal, at its core, is a defensive Stat which can protect a marksmen better than 100 extra armor ever could in many situations--tied with stats and passive/active effects like a shield to protect from big bursts, or a CC-dispel tied with a brief move speed steroid, they become the backbone for keeping marksmen alive. Buying a defensive sixth-item is also a good idea if you feel like you're not going to be able to stand up to the enemy in a teamfight--things like GA or Randuin--but obviously you'd have to make it to that point to do so! Latescaling marksmen whose DPS is heavily tied to on-hit damage granted through their kits and whom are less reliant on the raw gold-value of AD items to crank out damage, like Vayne or Koggy, can opt to buy two defensive last-items as they will still put out as much damage as most marksman would provided they stayed on par in gold-income with them. Finally, berserker greaves are not the only boots available to marksmen--mercury treads are stupidly useful for dealing with mage botlaners, earlygame-oriented marksmen like Graves can actually make some serious waves by picking up Ninja Tabi to maximize the effect of their swaps with the enemy marksman, and boots of swiftness can provide the mobility-edge or slow-protection one needs to dodge skillshots or keep distance between threats that would otherwise be their end.
As far as shaking off tanks and bruises goes, it varies depending on the champion. More than anything, you want to be familiar with that champion's kit and what they can actually do--some perma-slow, some have targeted ranged stuns....it helps a lot to be familiar with it.
Like itemization, most marksmen don't have a lot of wriggle-room for their non-mandatory summoner-spell choice (take flash, dammit) but if you're playing a champion that can feasibly rush a Lifesteal item, like Tris or Kog, you could forego the otherwise-popular heal for Cleanse to bust out of a tank's initiation--bear in mind that it takes VERY good timing to use it well and it CAN backfire very horribly if you mistime it. Sometimes you'll see marksman grab teleport, and I can't attest to whether or not it's a good idea because I can't give you a 100%- sensible answer, but right off the top of my head it seems like a poor idea because if your opponent takes literally anything ellse than they have a competitive-edge on you in-lane to that degree. I don't like taking ignite either because it literally is only worth a few AAs and a grevious-wounds debuff that is itemizable.
Sometimes you aren't going to be able to escape an all-in but if it's a 1v1 scenario and you're packing a Lifesteal item against someone like Alisar then there's no way in high-hell that he can outdamage your sustain, so reposition to a safer spot if you can--to avoid any potentially-nearby friends of Alistair from getting the jump on you-- and AA him to death. If it's a teamfight scenario, there are a lot of factors that are out of your control but it's best to be positioned in a spot that has clear vision on all sides so you don't get gooned from the bushes. Outside of that, beg your teammates to make it a higher priority for them to peel for you, or stay close to a teammate that is carrying harder than you so whoever is peeling for them cab also peel for you on the fly. By the time you have a Last Whisper item or the niche Black Cleaver up, tanks will be a lot less threatening.
Hope that helps.