If you want to edit several details at once, or edit more advanced things than just the name of the artist and album etc., right-click a track and click 'get info'. Highlighting several songs and doing this will let you edit the details of all these songs at once.