16th Day Study: Text formatting of CSS features

Source: Internet
Author: User
Tags border color

Keywords: text formatting learning program:
    • Text formatting
      • Color attribute
      • Text-align characteristics
      • Vertical-align characteristics
      • Text-decoraton characteristics
      • Text-indent characteristics
      • Text-shadow characteristics
      • Text-transform characteristics
      • Letter-spacing characteristics
      • Word-spacing characteristics
      • White-space characteristics
      • Direction characteristics
      • Unicode-bid characteristics
Learning Record:
    • Color attribute
      • Used to specify the color of the text, which sets the foreground color of an element (in HTML representation, the color of the text), and the raster image is unaffected by color. This color is also applied to all borders of the element, unless overridden by a border-color or another border color property.
      • The easiest way to set the foreground color of an element is to use the Color property
      • Possible values:
        • Color_name color values for color names (such as red)
        • Hex_number a color that specifies a hexadecimal value (such as #ff0000)
        • Rgb_bumber color values for RGB codes (such as RGB (255,0,0))
        • Inherit rules should inherit colors from parent elements
    • Text-align characteristics
      • property specifies the horizontal alignment of the text in the element
      • This property sets the horizontal alignment of text within a block-level element by specifying which point the row box is aligned with.
      • Possible values:
        • Left arranges the text to the default value: determined by the browser
        • Right, arrange the text to the left.
        • Center arranges text in the middle
        • Justify the effect of aligning the two ends
        • Inherit inherit the value of the Text-align property from the parent element
    • Vertical-align characteristics
    • Text-decoraton characteristics
    • Text-indent characteristics
    • Text-shadow characteristics
    • Text-transform characteristics
    • Letter-spacing characteristics
    • Word-spacing characteristics
    • White-space characteristics
    • Direction characteristics
    • Unicode-bid characteristics
Extended reading:
    • CSS Colors
      • Hex Color
        • The hexadecimal color is this: #RRGGBB, where the RR (red), GG (green), BB (blue) hexadecimal integer Specifies the component of the color. All values must be between 0 and FF
      • RGB color values
        • RGB color values are defined as: RGB (Red,green,blue). Each parameter (red, green, and blue) defines the intensity of the color, either an integer between 0 and 255, or a percentage value (from 0% to 100%)
      • 17 Standard colors: Aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white, Yello W.
The problem is recorded and resolved:
    • About value Justify

16th Day Study: Text formatting of CSS features

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.