Cabecera: header


    Declaraciones de Estilo
    #caja .cabecera h1 {font-size: 1.8; color : white ; background-color: blue; }
    #caja .cabecera {font-size: 1.6; color : blue ; background-color: red; }
    #caja header h1 {font-size: 1.4; color : red ; background-color: grey; }
    header h1 {font-size: 1.2; color : blue ; background-color: yellow; }
    h1 {font-size: 1.0; color : yellow ; background-color: black; }
    h1 {font-size: 1.0; color : black ; background-color: yellow; }


  1. Declaracion
  2. #caja .cabecera h1 {font-size: 1.8; color : white ; background-color: blue; }

    A = 0 Estilos en línea
    B = 1 ID
    C = 1 Clases
    D = 1 Elementos
    Puntuación= 0, 1, 1, 1

  3. Declaracion
  4. #caja .cabecera {font-size: 1.6; color : blue ; background-color: red; }

    A = 0 Estilos en línea
    B = 1 ID
    C = 1 Clases
    D = 0 Elementos
    Puntuación= 0, 1, 1, 0

  5. Declaracion
  6. #caja header h1 {font-size: 1.4; color : red ; background-color: grey; }

    A = 0 Estilos en línea
    B = 1 ID
    C = 0 Clases
    D = 2 Elementos
    Puntuación= 0, 1, 0, 2

  7. Declaracion
  8. header h1 {font-size: 1.2; color : blue ; background-color: yellow; }

    A = 0 Estilos en línea
    B = 0 ID
    C = 0 Clases
    D = 2 Elemento
    Puntuación= 0, 0, 0, 2


  9. Declaracion
  10. h1 {font-size: 1.0; color : yellow ; background-color: black; }

    A = 0 Estilos en línea
    B = 0 ID
    C = 0 Clases
    D = 1 Elemento
    Puntuación= 0, 0, 0, 1