H. La lista de selectores sel1 , sel2

Ejemplo

Salida

Ábrelo en otra pestaña.

Revísalo en gilpgedit.

1<!DOCTYPE html>
2<html lang="es">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport"
6 content="width=device-width">
7 <title>
8 Selector sel1 , sel2
9 </title>
10 <style>
11 /* Selecciona todos los
12 * h1, div y nav */
13 h1,
14 div,
15 nav {
16 background-color: yellow;
17 }
18 </style>
19</head>
20<body>
21 <h1>Selector sel1 , sel2</h1>
22 <p>Hola.</p>
23 <nav>Navegación.</nav>
24 <div>Adios.</div>
25</body>
26</html>
skip_previous skip_next