Basico html
Código básico
USA ESE LINK PARA PROBAR LO QUE QUIERAS CON EL CODIGO
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_newfont-------------------------------------------------
<br /> Se usa como salto de línea. El /> ya lo cierra
-------------------------------------------------
Fuente y color
<h1 style="font-family:verdana">Aheading</h1>
<p style="font-family:arial;color:red;font-size:20px;">A paragraph.</p>
</body>
Lo que esta en negritas es lo necesario y lo que esta subrayado es lo que se cambia____________________________________________________________
_________________________
Alineamiento
<body>
<h1 style="text-align:center">This is a heading</h1>
<p>Theheading above is aligned to the center of this page.</p>
</body>
Lo negro es lo necesario, lo subrayado es lo que se cambia. Lo rojo es el título y lo que está entre <p></p> es el párrafo
Tags | Description |
<center> | Deprecated. Defines centered content |
<font> and <basefont> | Deprecated. Defines HTML fonts |
<s> and<strike> | Deprecated. Defines strikethrough text (texto tachado) |
<u> | Deprecated. Defines underlined text |
Attributes | Description |
align | Deprecated. Defines the alignment of text|
bgcolor | Deprecated. Defines the background color |
color | Deprecated. Defines the text color |
Ejercicio
Has este texto en el centro
Problema:
<html> <body><p>The heading above is aligned to the center of this page</p>
</body> </html>
Respuesta:
<html> <body>
<center> <p>The heading above is aligned to thecenter of this page.</p> </center>
-------------------------------------------------
</body> </html>
____________________________________________________________...
Regístrate para leer el documento completo.