Where does Croatia's name first appear in Croatian writing?

People used to walk over the first written Croatian mention of Croatia. The Baška tablet began as an altar partition in St. Lucy's church in Jurandvor, on the island of Krk. After the screen was destroyed, the stone was laid into the church floor. It was still there on 15 September 1851, when Petar Dorčić, a young priest from Baška, found it during repaving. A small part was already broken.
The tablet records King Zvonimir giving land to the church. It is carved in Glagolitic script and contains the words "kralj hrvatski", king of Croatia. That is the earliest appearance of the Croatian name in the Croatian language. Nobody is sure of the date. Proposed years run from 1077 to 1120. Since 1934 the stone has been kept at the Croatian Academy of Sciences and Arts in Zagreb, with a replica in the church.
Sources: hit.ffzg.unizg.hr, en.wikipedia.org