Home › Forums › CSS › CHRIS can you explain › Re: CHRIS can you explain
October 3, 2008 at 2:27 pm #50287
I know I’m not Chris, but here goes. The input tag is an inline element. Most HTML elements can be divided into block and inline elements (list is another type IIRC). Block level elements (like div, p, h1, h2, h3…) typically have an intrinsic <br/> after them. IOW there’s 1 per line. Another characteristic of block level elements is being able to size and position them in the layout. In his example, he tells the browser to render his input tags as block elements so he can assign a width to it.