Recently this time has been learning HTML things, with the development of HTML5, now HTML5 more and more popular. Spent 2-3 hours a day learning HTML, but nearly two months, do not know what the confidant learned, so here to record these learning process.
Positioning: There are 5 types of position positioning
1, absolute absolute positioning, absolute positioning will be out of the document flow to locate, it has two cases, if his parent element is not positioned, then he will be relative to the Body (browser window), if his parent has positioning, then he will be relative to the nearest parent element to locate.
2, relative relative positioning, relative to the position of the element should be located, not out of the document flow.
3 fixed positioning, relative to the browser window positioning.
4, static general positioning, positioning the default value.
5. Inherit inherits the value of the parent element's position property.
HTML self-study notes