The short answer
Ananta means “endless,” “limitless,” or “infinite.” The Sanskrit word is written अनन्त, and it is used in Hindu texts, temples and festivals. The modern name Anant is a common spelling of the same word.
How the word is built
The word combines a-, a prefix that negates, with anta, meaning “end” or “boundary.” Put together, the parts mean “without end.” The prefix works much like English un- in a word such as unending.
Where the name is used
Ananta appears in several settings in Hindu tradition.
It is a name of Vishnu. The Vishnu Sahasranama, a hymn that lists a thousand names of the god, includes it. Some classical commentaries read the name as describing a Lord who is not limited by space, time or substance.
It is also a name of the serpent Shesha, who is shown as the couch on which Vishnu rests in the cosmic ocean.
In temples, the name appears at Sree Padmanabhaswamy Temple in Thiruvananthapuram, Kerala, where the main image is usually described as Vishnu reclining on Ananta.
In festivals, Anant Chaturdashi honors Vishnu in his Ananta form. Devotees tie a yellow thread with fourteen knots on that day.
Ananta in philosophy
Some Vedanta writers use the word to describe ultimate reality as beginningless, endless and undivided. This is a philosophical use rather than a measurement. Different Vedanta schools understand it in different ways, and the question of whether the infinite is personal or impersonal is discussed in dualism in hinduism.
A note on the spelling
In Hindi and several other Indian languages the name is often written Anant. The meaning does not change with the spelling.