The Windows keyboard shortcut Ctrl W will perform the Close Tab action.
The Mac keyboard shortcut command W will perform the Close Tab action.
The Linux keyboard shortcut Ctrl W (PC) or control W (Mac) will perform the Close Tab action.
The BSD keyboard shortcut Ctrl W (PC) or control W (Mac) will perform the Close Tab action.