A variety of compounds were designed and synthesized by modifying cap groups. The enzyme inhibition test showed that compound 12C had broad-spectrum enzyme inhibitory activity, and compounds 9m and 9q were more inclined to inhibit HDAC6 , showing a certain selective inhibitory activity among the representative subtypes.