Home > Web Front-end > HTML Tutorial > Some small points in HTML/CSS recently obtained (1)_html/css_WEB-ITnose

Some small points in HTML/CSS recently obtained (1)_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:49:50
Original
1278 people have browsed it

1. The and tags are used to emphasize certain words in a paragraph. Italic by default, Bold by default. In emphatic tone, expresses stronger emphasis than . At present, domestic front-end programmers prefer to use to express emphasis.

2. The browser will automatically add double quotes to the short text reference tag .

3. The browser parses the long text quotation tag <blockquote> in an indented style (both sides of the quotation paragraph are indented).

4. When inserting a line of code into a web page, you can use the tag. If you want to insert multiple lines of code, use the

 tag. </p> <p> </p> <p>5. The <a> tag can be used to send emails conveniently using mailto. The details are as follows: </p> <p></p> <p> </p> <p>6. All form controls (text boxes, text fields, buttons, radio boxes, check boxes, etc.) must be placed in < form></form> tags (otherwise the information entered by the user may not be submitted to the server). </p> <p> </p> <p>7. The name values ​​of radio buttons in the same group must be consistent, so that they can play the role of radio selection. </p> <p> </p> <p>8. The drop-down list can also perform multiple selection operations. Set the multiple="multiple" attribute in the <select> tag to achieve the multiple selection function. Under the Widows operating system , when making multiple selections, press the Ctrl key and click simultaneously (use Command click under Mac) to select multiple options. </p> <p> </p> <p>9. There is a button called the "Reset" button: </p> <p class="sycode"> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="precsshui"><input type = "reset" value = "重置">
Copy after login

10. Sub-selector (>) only acts on the first generation descendants of the element, and the descendant selector (space) acts on all descendant elements.

11. Currently, the "pseudo-class selector" a:hover is compatible with all browsers (in fact, there are many pseudo-class selectors, especially in CSS3, but it is not compatible with all browsers) device). In fact, :hover can be placed on any tag, such as p:hover, but their compatibility is also very poor, so the combination of a:hover is more commonly used now.

12. Letter-spacing can set text spacing or letter spacing in web page layout.

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