Morgan Robertson's 1898 novella "Futility, or The Wreck of the Titan", written fourteen years before the Titanic sank, tells the story of of a grand "unsinkable" ocean liner -- the largest in the world -- that on a cold April night on a voyage across the North Atlantic strikes an iceberg and sinks. Most of the passengers, many of them rich and famous, perished because there were not enough lifeboats. This fictional ship's description (800 feet long, 70,000 tons, top speed of 25 knots) is remarkably similar to the real Titanic (882 feet long, 66,000 tons, top speed 24 knots). The most chilling feature of Robertson's book, however, is the name he gave his fictional ship -- the Titan.
Another eerie coincidence can be found in W. T. Stead's story, "From the Old World to the New," which was published as the Christmas edition of the Review of Reviews for 1892. In the story a White Star Line vessel, The Majestic, rescues the passengers of another ship after a collision with an iceberg. 20 years later, Stead himself would go down with the Titanic.
This site contains a wide variety of materials on the subject. Access to the site is free but advertiser-supported; for a fee, researchers can access special features and use the site without viewing advertisements and pop-up windows.