miércoles, 19 de abril de 2017

EJERCICIOS (CLASE N°11)

index.html
<!DOCTYPE html>
<html>
<head>

    <link rel="stylesheet" type="text/css" href="estilo.css"/>
    <title></title>
</head>
<body>
<a href="http://www.google.com" target="_blank" class="b"> Ir a la pagina</a>
<hr>

<a href="http://www.google.com" target="_blank" class="d"> Ir a la pagina</a>
<hr>

<a href="http://www.google.com" target="_blank" class="c"> Ir a la pagina</a>
<hr>

<h1> Bucaramanga</h1> <span class="teclado">Ciudad</span>
<br><br>
<input type="text" id="a"><br>
<input type="text" id="b"><br>
<input type="text" id="c"><br>
<input type="text" id="d"><br>
<input type="password" id="e"><br>
<input type="text" id="d" class="goyo"><br>
<input type="checkbox" id="check_a"><br>

</body>
</html>

estilo.css

a{
    color:#ff0000;
    font-size:30px;
}

a:hover{
    color:#34dda7;
    font-size:14px;
    background-color:#f00;
}

.teclado{
    color:#9932cd;
    font-size:24px
}

.h1{
    color:#215e21;
}

.b{
    color:purple;
}

.d{
    color:pink;
}

.c{
    color:black;d
}

input{
    background-color:#f00;
}

input[type="password"]{
    background-color: #00f;
}

input.goyo{background-color: #0f0;}

  • Tambien se evaluo la habilidad 1
EVALUACIÓN: 

1. Diferencia entre HTML y CSS

RTA: HTML se usa para estructurar el contenido mientras que CSS se usa para formatear el contenido previamente estructurado.

No hay comentarios.:

Publicar un comentario