Why is Arduino saying pin 8 is HIGH when I simply put a cable in it?

Edit your post. look at the top of the box and you will see this:

image

Select your code and click on the </> sign