Here is the command to closed all the opened webpages with the keyboard.
This is really helpful
Ctrl + F4
Note: dont use Alt + F4 because this is to close the complete solution.
If you wanted to close your webpages by using mouse.
here are the steps to closed them. Click on window of menu bar and select windows
Thanks to Shani who asked me this question.