Wrong-o! From the Encyclopaedia Britannica on line
Hanson, John
b. April 13, 1721, Charles County, Md.
d. Nov. 22, 1783, Oxon Hill, Md., U.S.
American Revolutionary leader and president under the U.S. Articles of Confederation.
A member of the Maryland Assembly (1757-79), he represented Maryland in the
Continental Congress (1780-82). On Nov. 5, 1781, he was elected by the Continental
Congress "President of the United States in Congress Assembled," an office he held
for one year. He is sometimes referred to as "the first president of the United States,"
but he was a congressional presiding officer and had none of the powers of the
president under the Constitution.
So, if you define a president by his powers,
Hanson was not President, any more than the presiding officer of the Senate, also called "Mr. President", is the President of the United States.
He was the President of that body only.
What you quote doesn't give any evidence that Hanson was "a Moor" or black in any way.
http://www.marshallhall.org/hanson.html
says he was of Swedish descent.
http://illuminopolis.hypermart.net/jhanson.html
analyses the idea that he may have been black. It's apparently based on a dageurrotype which was mislabeled with his name. Of course, the Hanson in question died before the birth of Louis Daguerre, so could never had had a daguerrotype made.
Somebody didn't consider their facts too carefully when making the claim that he was black.