Learning Style Sheet CSS Reference-Commonly Used CSS Knowledge_Experience Exchange

WBOY
Release: 2016-05-16 12:07:22
Original
1376 people have browsed it
1. Comparison between Block and inline elements

All HTML elements belong to either block or inline.
The characteristics of the block element are:
Always start on a new line;
Height, line height, and top and bottom margins can all be controlled;
The default width is 100% of its container , unless a width is set.
,

,

,

,
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template