html block-level tags and labels inline

1. The row label and the block-level tags

 

Block Tags: comprising p, div, ul, ol, li, dl, dt, dd, h1 ~ h6, form;

Features: a line by the attribute value of the height, width, line height and the top and bottom margins can be set to take effect; if not to the width of block elements on the default width of the browser, i.e. 100% is wide;

 

The row label: comprising a, span, em, strong, b, i, u, label, br;

Features: there may be a plurality of line labels can not be directly set the height of the row labels, width, line height, and the top and bottom margins, content stretched completely on the width and height! 
a label: mainly used to link to other pages

Guess you like

Origin www.cnblogs.com/bigbox/p/12116386.html