I went to a site, and then later my friend said there might have been a keylogger in the site.

The site just was a txt document, just some text.

is there any way there might have been a keylogger in there? and if so how do I get rid of it/know for sure?

Thanks.

Lews