From within the Settings app, scroll to and tap Safari.
Scroll to and tap Clear History and Website Data.
Tap Clear.
Tap Close Tabs.
Selecting Keep Tabs will clear your history and website data, but will keep all opened tabs open.
You've completed the steps!
