Академический Документы
Профессиональный Документы
Культура Документы
Lenguaje HTML
HTML
• Ingresar a:
– http://www.color-hex.com/
– https://www.w3schools.com/colors/colors_picker.
asp
Ejemplo CSS
body {
background-color: #FF6347;
}
h1 {
color: white;
text-align: center;
}
p{
font-family: arial;
font-size: 20px;
}
Selección de elementos
https://www.w3schools.com/cssref/css_selectors.asp
JavaScript
Por ejemplo:
<p id=“identificador”>Hola curso</p>
Sintaxis de JS
<button type="button"
onclick="alert(1+1)">Presione aquí</button>
<button type="button"
onclick="alert(‘texto’)">Presione aquí</button>
JavaScript
<script>
document.getElementById(”identificador").inne
rHTML = ”código javascript";
</script>
¿Cómo se agrega JS en mi sitio?