You would want to explain a work cited like the 2nd answer.
I'd say both are okay. The only difference is that the second one has a little bit of unnecessary info, like how it states that it's from a website, instead of just putting the website in parentheses.
5.9m questions
7.7m answers