Colores En Html
CAMPUS CAMPO GRANDE, IXTACZOQUITLAN
ALUMNO:
ROBERTO FLORES FLORES
PROFESOR:
GILBERTO MEDINA CASTRO
CARRERA:
TIC
REPORTE #9 DE LA CREACIÓN DE UNA
PÁGINA WEB EN HTML
FECHA DE ENTREGA
23/05/2012
INDICE
INTRODUCCIÓN………………………………………………………………………3
PROCEDIMIENTO……………………..………………………..…………….4, 5, 6, 7
SECCIÓN DE RESULTADOS………………………………………………….….…8OBSERVACIONES…………………………………………………….………………8
CONCLUSIÓN…………………………………………………………….……………8
BIBLIOGRAFIA……………………………………………….…………………………8
INTRODUCCION
Codificación de colores
En HTML, los colores se definen mediante tres números hexadecimales que representan los tonos rojo, azul y verde, usando la codificación RGB del color elegido. Esta es la sintaxis para codificar un color en HTML:color="#RRGGBB"
RR, GG y BB representan, cada uno, un número hexadecimal entre 00 y FF para el rojo, el verde y el azul respectivamente.
Con esta sintaxis, se pueden utilizar más de 16 millones de colores en las páginas Web. Sin embargo como no todos los navegadores reconocen los colores del mismo modo, W3C recomienda usar los colores acontinuación, que han recibido nombres específicos. Por lo tanto, puede (y se aconseja) representar los colores de esta forma:
Color="color name"
Los que están en negrita se pueden escribir en lugar de los códigos.
White | #FFFFFF | |
Nombre del color | Código del color | Apariencia |
Red | #FF0000 | |
Green | #00FF00 | |
Blue | #0000FF | |
Magenta |#FF00FF | |
Cyan | #00FFFF | |
Yellow | #FFFF00 | |
Black | #000000 | |
Aqua | #70DB93 | |
Baker's Chocolate | #5C3317 | |
Blue Violet | #9F5F9F | |
Brass | #B5A642 | |
Bright Gold | #D9D919 | |
Brown | #A62A2A | |
Bronze | #8C7853 | |
Bronze II | #A67D3D | |
Cadet Blue | #5F9F9F | |
Cool Copper | #D98719 | |
A continuación mostramos el código de una tabla de horarios sinpropiedades de las etiquetas
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="es" lang="es">
<head>
<meta http-equiv="Content-Type"content="text/html;charset=utf-8"/>
<title>Página Principal</title>
</head>
<table border="3">
<caption>HORARIO</caption>
<tr>
<th>Horario</th>
<td>Lunes</td>
<td>Martes</td><td>Miercoles</td>
<td>Jueves</td>
<td>Viernes</td>
</tr>
<tr>
<td>8:00-8:59</td>
<td rowspan="2" align="center">D.G</td>
<td rowspan="2" align="center">I.E</td><td rowspan="3" align="center">D.A.W</td>
<td rowspan="2" align="center">I.E</td>
<td rowspan="3" align="center">D.A.W</td>
</tr>
<tr>
<td>9:00-9:59</td>
</tr>
<tr><td>10:00-10:40</td>
<td colspan="2" align="center">S.O</td>
<td align="center">M.</td>
</tr>
<tr>
<td>10:41-11:10</td>
<th colspan="5" align="center">RECESO</th>
</tr>...
Regístrate para leer el documento completo.