The combination of horizontal and vertical trends in metallic character explains the stair - shaped dividing line between metals and nonmetals found on some periodic tables , and the practice of sometimes categorizing several elements adjacent to that line , or elements adjacent to those elements , as metalloids .