What is the difference between a tramway and a railway. They both run on rails and potentially a tramcar could run on a normal railway. I see a tramway as a specialized railway with stock designed for street running
Well, you've got your railway (say, ECML), you've got your tramway (say, Blackpool), and you've got your Tramway Railway (say, defunct Weymouth Harbour branch, standard mainline trains but running along the road), and you've got your railway style tramway (say, Nottingham Express Transit trams running alongside the NR Robin Hood line on an ex-rail formation on railway-like lines but with tram signals).
Then you've got your Tram-trains...
Summary: It's complicated, you have to take it on a case-by-case basis, but there are a few things you can say:
Trams don't have toilets (not all trains have toilets, but if it has a toilet it's almost certainly not a tram).
Tramways can typically have much tighter curves than trains can handle.
Modern tramways are always electric (overhead, safe conductor rail, battery).
Tramways mostly have stops closer together than railways.
Trams don't have catering.
Tramways always have at least *some* street running - trains *may* rarely have some limited street running (this is a reason why the Newcastle Metro system is not a tram system, it's a local light rail network).
I'm sure someone will come up with counter-examples to these!
Summary: It's difficult to define the difference exactly but that doesn't mean there isn't one!