html

At this time, you must have read a lot of tutorials about css float. I bet all you know is something like “floating elements makes the elements float to the […]

Padding and margin often cause misunderstandings. <div style=”width:100;height:100;background-color:#ff0000;”></div> The above html displays a 100×100 red block. What do you think the effects of the html below? <div style=”padding: 20px; width: […]

Today it turns out I  got a big misunderstanding of HTML checkbox. I thought <input type=”checkbox”  value=”1″> will check the box, while <input type=”checkbox”  value=”0″> will uncheck the box. Unfortunately, […]