Skip to content

Instantly share code, notes, and snippets.

@DavidPeralvarez
Created March 29, 2018 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidPeralvarez/bcdcdf32e018ebf7afa2e21a0ba3e944 to your computer and use it in GitHub Desktop.
Save DavidPeralvarez/bcdcdf32e018ebf7afa2e21a0ba3e944 to your computer and use it in GitHub Desktop.
CSS Interno
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Interno</title>
<style type="text/css">
body{
background-color: #333;
color: white;
padding: 50px;
}
h1{
color: yellow;
}
p{
font-size: 18px;
}
h3{
color: orange;
}
ol{
background: white;
color: #333;
padding: 30px;
width: 100px;
}
</style>
</head>
<body>
<h1>Esta vez aplicaremos CSS interno</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<h3>Maneras de incluir el CSS</h3>
<ol>
<li>Inline</li>
<li>Interno</li>
<li>Externo</li>
</ol>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment