Last active
July 6, 2020 14:20
-
-
Save agustinpfs/05e9806676a9585ea42f72f6479382cb to your computer and use it in GitHub Desktop.
Sintaxis CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Sintaxis css</title> | |
<style> | |
h1 { | |
color: red; | |
} | |
/* "h1" es el selector, indica el o los elementos a los cuales queremos aplicarles los estilos. | |
"color" es la propiedad. | |
"red" es el valor. | |
"color: red" es la declaración. */ | |
</style> | |
</head> | |
<body> | |
<h1>Hola CSS</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment