Melania Trump filed a libel lawsuit Thursday against the publisher of The Daily Mail, contending that it published an article that contained “false and defamatory statements,” including that she was once an escort.

In the lawsuit, which was filed in state court in Montgomery County, Md., Ms. Trump, the wife of Donald J. Trump, the Republican presidential nominee, said the “defamatory statements” in the article “were attacks on her reputation which discouraged members of the public from having a positive opinion of her.”

The Daily Mail, a British tabloid, removed the article from its website, but by the time of the filing it had not issued a retraction and apology, according to the complaint. The Daily Mail published a retraction and apology after the lawsuit was filed Thursday.

Ms. Trump also sued Webster G. Tarpley, who runs the blog Tarpley.net, for a post published Aug. 2. Tarpley.net retracted the post on Aug. 22 and issued an apology to Ms. Trump.