What does 0in mean as a unit of measurement?

I'm going through the code on one of my school's canvas pages and I came across:

<p>&nbsp;</p>
<p>&nbsp;</p>

Can someone explain what 0in means? I can't find it on Google

2 Answers

See CSS values and units from MDN or CSS Values and Units Module Level 4:

in: Inches

… and 0 is just zero.

0

There are many units of size of margin in HTML such as px (pixel), rem, em, in, etc. The margin: 0in means that the margin has 0 inches from other HTML elements.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like