Overview
The cravat is a neckband, the forerunner of the modern tailored necktie and bow tie, originating from a style worn by members of the 17th century military unit known as the Croats. The modern British "cravat" is called an "ascot" in American English.
From the end of the sixteenth century, the term band applied to any long-strip neckcloth that was not a ruff. The ruff, a starched, pleated white linen strip, originated earlier in the sixteenth century as a neckcloth (readily changeable, to minimize the soiling of a doublet), as a bib, or as a napkin. A band could be either a plain, attached shirt collar, or a detachable "falling band" that draped over the doublet collar. It is possible that initially, cravats were worn to hide soil on shirts.
History
According to 1828 encyclopedic The art of tying the cravat: demonstrated in sixteen lessons, the Romans were the first to wear knotted kerchiefs around their neck, but the modern version of the cravat (French: la cravate) originated in the 1660s. During the reign of Louis XIV of France, Croatian mercenaries were enlisted in 1660 wearing a necktie called a tour de cou. The traditional Croat military kit aroused Parisian curiosity about the unusual, picturesque scarves distinctively knotted at the Croats' necks:
From Wikipedia (CC BY-SA 4.0).