(Reuters) - Yahoo Inc will buy online blogging service Tumblr for $1.1 billion in cash, the company said on Monday.