IPhone - How do I delete tabs?

When you double click the home button you are prompted with all of the previous apps and pages you have been on, how do I delete some or all of the pages that it shows on this feature?

Swipe up lol

Touch the page and swipe it up to close.

Just with a swipe of your finger, your notifications will pop up and you'll see any apps you want to close.

But if it's not updated to ios7 simply double tap the home button and the running apps will appear and you'll see a red X just click on that to close them.

How do you do it on iPhone c

On iPhone X