1. Jump out of the new page: target="_self" does not jump Jump setting for form form submission 2. Click the button to jump to other pages and add onclick="return false" 3. display:block;Block-level element, that is to say, it can set some width and height and occupy an exclusive line, such as div element, p elements and other display:inline-block, row-level elements, that is to say, it can make elements that are also set as row-level elements together in one line, and then you can set the width and height. This is suitable for making a navigation menu and setting each menu item Row-level elements. Its width and height default to the width and height of the content, and a typical element is a form class element. dispaly: inline. For row-level elements, the width and height cannot be set. The default width and height are the width and height of the content. Typical examples include span, 4, html mouse hand: cursor: pointer; 5. HTML background image attributes: background-size:100%;, but the width and height of your image should be set to 100%. Pay attention to the .php file The background-image:url(); inside is not easy to use and invalid. You have to use the absolute path of the website background:url('/20151106/404/image/404.png') no-repeat 4px 5px;}background:url ("11111.jpg");background-repeat:no-repeat;background-size:100%;width:100%;height:100%; This is the body that adds a background to the page{padding: 0px;margin: 0px;background-color:#494949;width:100%;height:100%;}. You can also use background-image:url("" when setting the background image ; ;q>double quote tag underline 7. html---position/relative/absolute/fixed/The summary of the three layout positioning methods relative is According to itself, absolute is based on the browser, but it should be noted that if it has a parent element, then it changes its position according to the parent element. 8. Remove the black dots in front of the unordered list li{list-style:none;} 9. Hidden elements - display:none or visibility:hidden display- After this element is set, the original element will not occupy the current space and will not affect the layout. However, the latter element will still occupy space after being hidden. 10. HTML hidden redundant Div{overflow :hidden} 10. Hide adaptive: overflow:auto; 11. Questions about the frame This is to accept the page you want to display indx.php is the page displayed by the frame, the top one, that is, it is displayed without buttons This is where you want to display it after clicking: target="" Add category 12. Regarding the height of the background, that is to say, you defined a div but didn't do it. Get your picture on top. Then there is this attribute overflow:hidden; That is, you belong to the parent element, but your float is separated from the text and becomes floating, so everything will not We are using the space of parent-child elements, so add this overflow:hidden; 13. Anchor setting Add the following to the page you want to jump to: < a name="miao"> Then addFind the anchor point where you want to add the link 14. Click to change the verification code image 15、Rounded corners border-radius:5px; 16. The text on the left side of the textarea is on the far left style="vertical-align:top" 17. HTML block elements and inline elements To summarize, block elements can set margin, but when using margin, they must comply with: 1. Block elements, 2. Have width and height. Inline elements cannot set the margin and width and height attributes, and can only set padding Block element list: Definition addressDefinition table titleDefinition in the list EntriesDefines a section or section in a documentDefines a listDefines an item in a listDefine a framesetCreate an HTML formDefine the largest titleDefine subtitleDefine the titleDefine the titleDefine the titleDefine the smallest titleCreate a horizontal line Element defines title for element Label defines list item Display text for browsers that do not support frames, inside the frameset elementDefine alternative content when the script is not executedDefine ordered listDefine unordered listTag definition paragraphDefine preformatting The text tag defines the HTML tabletag table body (body)Standard cells in the tableDefine the footer of the table (footnote or table note)Define the header cellThe label defines the header of the table Define rows in the table List of inline elements Tag can define anchorsRepresentation An abbreviation formdefines only the acronymBold fontcan override the default text directionLarge font boldLine breakQuote for definitionDefinition of computer code TextDefine a definition itemDefined as emphasized contentItalic text effect< ;img>Embed an image into a web pageInput boxDefine keyboard textThe label is Element definition annotation (tag)Define short quoteDefine sample text Create a single or multi-select menuRender a small font effectCombine inline elements in the documentMore tone Strongly emphasized contentDefine subscript textDefine superscript textMulti-line text input controlTypewriter or fixed-width text effectDefine variables