HTML.CSS Summary

Source: Internet
Author: User
Tags italic font italic font style

The common text attribute font-size:30px in CSS; Set font size px--pixels font-family: "Arial" Font-style: Font style style Common properties: normal: Browser default Itali   C: The browser will display an italic font style.   Oblique: The browser will display a italic font style. Inherit: Specifies that the font style should be inherited from the parent element.    font-weight:100; --Font weight

List attribute list Li Common Properties none no style disc solid circle (<ul> default type) Circle Hollow Circle Square Solid Square decimal number

Background properties Background Background-color background color Set the background color of an element background-image background picture note tiling background-repeat picture Tiling method backg round-position position coordinate (offset) background-position:70px 5px;--general notation, no compatibility issues

Supplemental attribute: Display Property None This element is not displayed.   Block this element will be displayed as a block-level element with a newline character before and after this element. Inline default. This element is displayed as an inline element with no line break before or after the element.

Box properties are the key properties of the box model the underlying properties of the box model: margin (margin/boundary) border (border) padding (padding/fill) Note that each property has four positions up and down, respectively, to handle the position of the adjustment in the Web page margin Property--box Margin (that is, the position of the element away from parting) Margin-top margin-right margin-bottom Margin-left

HTML.CSS Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.