putting label on top of input css code example Example: putting label on top of input css input, label { display:block; }