Chinese President Xi Jinping visited the quarantined city of Wuhan on Tuesday for the first time since the coronavirus was identified there, reflecting confidence that the epidemic’s spread has been largely contained within China.

Mr. Xi’s visit, which came as Italian authorities locked down the entire country and governments from the U.S. to Iran scrambled to contain the fast-spreading virus, follows weeks in which China reported a steady decline in new infections.

...