NEW YORK (MainStreet) — Even the recession couldn’t stop the growth in Internet-related jobs.

Between 2007 and 2011, the Internet industry and the online publishing industry each grew by more than 24%, making these the second and third fastest-growing industries in that time period, according to a recent study conducted by the president’s Council of Economic Advisors in partnership with LinkedIn. The only industry to add a greater percentage of jobs was the relatively new renewables and environment sector.

In terms of the total number of jobs added, the Internet industry ranked first followed by several health-related industries including hospitals and health care, health, and wellness and fitness. These latter industries are only expected to keep growing as the country gets older and needs more care.

On the other end of the spectrum, the three industries that shrank the most were newspapers, restaurants and warehousing. In fact, the number of jobs in the newspaper industry shrank by more than 28% between 2007 and 2011.

TheStreet Recommends

Of course, the recession is not necessarily the reason for the growth or decline of these industries. The newspaper industry, for example, would likely have shrank anyway as more publications shifted their business model from print to online – as evidenced by the growth in the online publishing industry. Likewise, the growth in the health care industry is based more on demographic changes in the country rather than economic changes.

To find out which professions are expected to grow the most in the coming decade, check out MainStreet’s roundup of the fastest-growing jobs between 2010 and 2020.

Seth Fiegerman is a staff reporter for MainStreet. You can reach him by e-mail at seth.fiegerman@thestreet.com, or follow him on Twitter @sfiegerman.