*
Selecciona todos los elementos.
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>Selector *</title> |
8 | <style> |
9 | * { |
10 | /* Texto centrado. */ |
11 | text-align: center; |
12 | } |
13 | </style> |
14 | </head> |
15 | <body> |
16 | <h1>Selector *</h1> |
17 | <p>Hola.</p> |
18 | </body> |
19 | </html> |