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:
16th Day Study: Text formatting of CSS features