SpeakComputers.com
Home
Software
Electronics
Desktop Computers
Laptops
Games
Handheld Devices
Mobile Phones
Cameras
Camcorders
Printers
Books
Software Downloads 2012 Software Mac Software Security Student Editions Windows 7 Office 2010
Fundamentos de HTML.
Formato del documento HTML
Tags HTML
Tags Atributos - Propiedades
Enlaces HTML
Tablas HTML
Puntos – Enumeración HTML
Imágenes HTML
Formatear Texto HTML
Tipos de letra HTML
Elegir el elemento correcto
Meta Tags
Estilización HTML.
Elemento style HTML
Hojas de Estilo Externas
Tags atributo class HTML
HTML Elementos.
Elementos HTML
Elemento a
Elemento acronym
HTML Elemento address
Elemento area
Elemento b
Elemento bdo
Elemento big
Elemento blockquote
Elemento body
Elemento button
Elemento br
Elemento col
Elemento colgroup
Element comment
Elemento dd
Elemento del
Elemento dfn
Elemento div
Elemento dl
Elemento dt
Elemento em
Elemento fieldset
Elemento font
Elemento form
Elemento frame
Elemento frameset
Elemento head
Los elementos h1 al h6
Elemento hr
Elemento html
Elemento i
Elemento iframe
Elemento img
Elemento input
Elemento ins
Elemento kdb
Elemento label
Elemento legend
Elemento dd
Elemento del
Elemento dfn
Elemento div
Elemento dl
Elemento dt
Elemento em
Elemento fieldset
Elemento font
Elemento form
Elemento frame
Elemento frameset
Elemento head
Los elementos h1 al h6
Elemento hr
Elemento html
Elemento i
Elemento iframe
Elemento img
Elemento input
Elemento ins
Elemento kdb
Elemento label
Elemento legend
Elemento li
Elemento link
Elemento menu
Elemento meta
Elemento noframes
Elemento object
Elemento ol
Elemento optgroup
Elemento option
Elemento p
Elemento param
Elemento pre
Elemento small
Elemento span
Elemento strong
Elemento style
Elemento table
Elemento tbody
Elemento td
Elemento textarea
Elemento title
Elemento tr
Elemento u
Relacionado.
Estadísticas del Sitio Web
Cuadro de Colores HTML
ASP.NET C# VB.NET C++ .NET Infragistics DevComponents

Hojas de Estilo Externas

Las hojas de estilo externas ofrecen la misma funcionalidad que los elementos tag de estilo. Sin embargo, con las hojas de estilo usted puede asignar estilos a múltiples elementos sin modificar o escribir el atributo estilo.

Enlazar con una hoja de estilo exterior requiere que usted añada una línea de código en el elemento
<head></head>. Ejemplo:

<
html>
<
head>
<
title>Hoja de Estilo Externa</title>
<
link rel="stylesheet" type="text/css" href="http://www.speakcomputers.com/GreenStyle.css" />
</
head>
<
body>
</
body>
</
html>

Del ejemplo de arriba, todos los elementos del documento heredarán todas las reglas de estilo a menos que usted invalide el atributo estilo por el elemento individual. Copie y pegue el código siguiente en el recuadro de Ver Código HTML y haga clic en “Render”. Usted puede cambiar la hoja de estilo enlazada de “GreenStyle.css”, “RedStyle.ccs” o “BlueStyle.ccs” y vea que se aplican los diferentes estilos.


<
html>
<
head>
<
title>Hoja de Estilo Externa</title>
<
link rel="stylesheet" type="text/css" href="http://www.speakcomputers.com/GreenStyle.css" />
</
head>
<
body bgcolor="#ffffff">
<
h1>Ferrari</h1>
<
h2>Lamborghini</h2>
<
h3>Audi</h3>
<
h4>BMW</h4>
<
h5>GMC</h5>
<
h6>Golf</h6>
<
table align="center" border="0">
<
tr>
<
td>Columna 1, Fila 1</td>
<
td>Columna 2, Fila 1</td>
</
tr>
<
tr>
<
td>Columna 1, Fila 2</td>
<
td>Columna 2, Fila 2</td>
</
tr>
<
tr>
<
td>Columna 1, Fila 3</td>
<
td>Columna 2, Fila 3</td>
</
tr>
</
table>
</
body>
</
html>

Ahora vamos a hacer otro ejemplo invalidando el estilo de ciertos elementos individuales. Siguiendo con el ejemplo de arriba, copie y pegue el código siguiente abajo. Puede cambiar la hoja de estilo enlazada de“GreenStyle.css”, “RedStyle.ccs” o “BlueStyle.ccs” y vea que se aplican los diferentes estilos.


<
html>
<
head>
<
title>Hoja de Estilo Externa Anulando</title>
<
link rel="stylesheet" type="text/css" href="http://www.speakcomputers.com/GreenStyle.css" />
</
head>
<
body bgcolor="#ffffff">
<
h1 style="color: dimgray; font-style: italic; font-variant: small-caps">Ferrari</h1>
<
h2>Lamborghini</h2>
<
h3>Audi</h3>
<
h4>BMW</h4>
<
h5>GMC</h5>
<
h6>Golf</h6>
<
table align="center" border="0">
<
tr>
<
td style="font-weight: bold; color: black; background-color: #ffcc66">Columna 1, Fila 1</td>
<
td>Columna 2, Fila 1</td>
</
tr>
<
tr>
<
td>Columna 1, Fila 2</td>
<
td>Columna 2, Fila 2</td>
</
tr>
<
tr>
<
td>Columna 1, Fila 3</td>
<
td>Columna 2, Fila 3</td>
</
tr>
</
table>
</
body>
</
html>

El ejemplo de arriba demuestra cómo invalidar el estilo de elementos individuales.

Practique crear más estilos.



 

Computer Security
AntiVirus Software
Internet Security
Parental Controls
Backup & Recovery
Computer Protection
Anti Malware
Photo & Video
Photo & Video Editing
Video Music
Desktop Publishing
Professional Design
Home Publishing
Clipart
Business & Accounting
Accounting
Payroll
Check Printing
TAX
H&R Block
Microsoft Office
Design
Graphic Design
Home Design
Garden Design
Interior Design
Computer Aided Design
3D Design
Students & Teacher
Adobe
Microsoft Office
Dragon Naturally Speaking
Corel Draw
Serif
Student/Teacher Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
Home About Privacy Policy Resouces