I have widows xp its connected to internet but web pages won't open

Solution
Depending on the browser you're using most of them no longer support XP

And some sites may no longer support XP either. You may have to update to a more recent OS