Probably the biggest difference between marine and freshwater tanks are stocking levels though. In a freshwater 20 gallon you can get away with one or two shoals of small schooling fish, some bottom feeders, and a centerpiece. In a marine tank, you'll be lucky to fit four small fish in the same area. Don't even think of having shoals unless you have a tank in the hundreds of gallons.
Unless you have small species such as clown gobies, of course, in which case a 20 gallon would easily hold a shoal.
On the other hand, you can put as much coral into a tiny tank as you can fit (assuming the coral doesn't attack each other), as coral absorbs nitrates like plants as it grows. It's why people are drawn towards reefs, despite the huge costs for lighting.
Do you have anything to back this statement up? If nitrates are absorbed by corals why do reefkeepers spend so long trying to get them as close as possible to zero? I am fairly sure that nitrates are detrimental to coral growth, so please tell me where you found the above statement.