19.11.19 Class Notes

    text property
    1. Color --color

    2. --text-indent to indent text
    property values: numeric text-indent PX +: 10px;

    3. --text-decoration modified text
    property values: underline * none * Default Underline * not any default scribe line overline

    alignment 4. --text-aligin text
    property values: left right center justify (Justify)

    width * height * width attribute values are high pixel px
    
    any label (default) are presented in the form of squares, we need to manually adjust the size of the pattern

    background background
    1. background color --background-color: color; color attribute value is
    2. the background image --background-image: url ( "path")
    3 background size --background-size: xy; x is the horizontal size, y is the vertical size, all pixels PX.
    4. Background --background-repeat Tile
        Property Value Tile --repeat default *
            Do not tile --no-repeat
            only tile --repeat-x in the horizontal direction
            only vertically tiled --repeat-y

    Table --table label
    which is composed of the ranks, the smallest unit is the cell

    line label - <tr> </ tr>
    cell label - <TD> </ TD>

    Table tag attribute

        border-- digital form whether it has a border 1 represents 0 for no border has border
        cellpadding-- content and the cell spacing
        cellspacing - the distance between the cells and cell

    td tag attributes
        colspan-- levels were combined, the attribute value is a number
        rowspan-- vertically merged property value digital
    list

    1. unordered list ul tag attribute type determines the type of bullet Disc (solid circles) Square (square) circle open circles
    inside the sub-tab is Li

    2. ordered list ol type = "1 / a"
    inside sub-tab is Li

    3. custom list dl
    child tag which has a list of titles dt
    dd list items is
    required under normal circumstances is removed bullet.

    Css style list
    List-style: none;
    Note: the spacing own list. Without padding padding (padding) margin (Margin)



    
    





















 

 

Guess you like

Origin www.cnblogs.com/rsw18/p/11891902.html