Mass-mark as junk: To mark multiple emails in one go, check all messages in the message list you can also use search to quickly select emails matching certain criteria see below.
Mark as spam without opening: You can also check an email in the message list, of course. Open the message you want to mark as junk.
To mark an email (or multiple messages) as spam using Gmail in a desktop browser: