How does the position of an element on the periodic table allow you to determine if the element is a metal?

Answer :

left is metal (except for hydrogen), there is a line that separates metal and non-metal and in between those, that are hugging the line are metalloids