1.1, the following selectors among the highest weight value is ()
A, #box. InnerB,. A. F. G. M. H. I. J. K.. P. N. E.. p.. o .C, #box divD, outer. Inner 1.2. The four pseudo-classes of a label are (written in the correct order): A:link, A:visitive, A:hover, a:active; 1.3, Block Tags: div, ul, OL, DL, table, p,Row Label: 1.4, the basic structure of the Web page: 2, how to prevent the Web page in Chinese garbled: 3. What are the ways to introduce CSS, and what are the advantages and disadvantages of each? 4. Enumerate what kinds of selectors CSS has and write examples 5. What is the difference between an inline element and a block element? 6, <! What's the impact of doctype> not writing? 7. The difference between the hidden tags (display:none and Visibility:hidden) 8. Method of horizontal centering of block elements 9, try to explain what the ALT and title of IMG do 10, try to explain border:0; and border:none; the difference 11, try to explain the difference between Overflow:auto and scroll 12, what's the Reset (style reset), why do you want to do this 13. What are the code specifications for HTML? 14, a kind of effect, there are two implementations can be achieved, the scheme of a: label; scenario Two: Background map, two options how to choose? What are the metrics? 15. What are the benefits of using a background map to merge (sprite)? 16. How do you understand absolute positioning and relative positioning? Where do you use them? 17, need for a class called "box" div element, set the upper margin is 20px, the left margin is 15px, the right margin is 20px, the bottom margin is 25px, what are the writing methods, the simplest way to write? 18, write out the common browser hack 19. Kernel and kernel prefixes for different browsers 20. What are the ways to clear floating, and what do you know about floating? 21. How to align elements horizontally vertically (extension code)Structure Code<div class= "box" ><div class= "inner" ></div></div>Current Style code:*{margin:0; padding:0;}. box{width:600px; height:200px; background: #ccf;}. inner{width:100px; height:100px; background: #fff;}22, write the following structure code: 23, the left picture fixed wide, the right text adaptive
HTML+CSS Test