Two plain black lines are drawn, one flat and one standing up, and they are sized alike on the page.
Is the horizontal line on the left longer than the vertical line on the right?
Think it through first. When you're ready:
No. They are exactly the same length.
Both lines are 200 pixels long and drawn with the same thickness. Many people judge the vertical line as longer, because the eye tends to overestimate vertical distances. A ruler on the screen confirms that they match.