Right-click the file or folder you want to tag > select Tags from the context menu > choose a color tag from the list, or click on the empty space to create a new custom tag > enter the name of the tag > press Enter to save.