Force quit Safari, if your settings are right: double tap the Home button to show the App Switcher, then slide the thumbnail below the Safari app icon towards the top of the screen.
If that doesn't help either, force start your iPad: press and hold Home and Power button simultaneously until the Apple logo appears. As soon as you see the logo, let go of both buttons. The iPad will power up on it's own.