Question: I cannot log in in yahoo mail, but i have internet connection. I cannot go to gmail website too. how is that? 

Answer: You might try going to random sites to make sure it isn't your internet connection. If you can access random sites, then wait awhile and Yahoo! Mail and Gmail should be back up.
This question from the Yahoo Q&A forum is categorized in the topic: Science & Mathematics