The classification of HTML tags in the label classification, we as a beginner in the first use of the label will find some properties on some labels do not work, such as wide, high, horizontal center, in fact, the use of this property only on the block-level label used to work. Personally, this is a very easy place for beginners to overlook, so I'll write it down! First, we can divide the HTML tags into: block-level labels, inline tags, inline block labels, and so on, as shown here. Block-level label features: Exclusive row, the height, width, row height, and the top and bottom margin can be set to the value of the property values to take effect; If you do not give width, block-level elements default to the width of the browser, that is, 100% width; Typical block-level labels are:<p>, H-Series, <li>,<dt >,<dd>,<p>,<form>,<ul> in-line label features: You can have more than one row of labels, cannot directly set the inline label
1. CSS block-level tags, inline tags, inline block tag conversions (2)
Introduction: In the label classification, we as a beginner in the first use of the label will find some properties on some labels do not work, such as wide, high, horizontal center, in fact, the use of this property is only used on block-level labels to function. Personally, this is a very easy place for beginners to overlook, so I'll write it down!
2. CSS block-level tags, inline tags, inline block tag conversions
Introduction: In Basic 1, I detailed the common properties of CSS, several different selectors, on the basis of which we have to further understand their characteristics so as to better learn and master the relevant development skills.
3. H5 Learning Journey-h5 Use of block tags (9)
Introduction: 1. HTML block elements, where block elements begin with a new line, such as H1,p,ul 2. Inline elements, usually not starting with new lines, such as the a,b,img 3.html div element, a div is also called a block element, which is primarily used as a container for composing HTML elements
4. CSS3 and Page Layout learning Summary (ii) Box Model, margin folding, inline and block tags, cssreset
Introduction: CSS3 and Page Layout learning Summary (ii)--box Model, margin folding, inline with block label, Cssreset
"Related question and answer recommendation":
Like 58 of the same city micro-station through the kind of drag and drop can be like building the site of the program is the principle of what?