Please see Edit Mode: Editing label text and Properties of Graph Elements: Enhanced Labels - HTML Labels in the yEd Manual.