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

Elemento style HTML

Los Tags HTML incluyen el atributo “style”. Usted puede aplicar estilos individuales a cada elemento html que soporte el atributo “estilo”.

Vamos a hacer un ejemplo simple:


<
html>
<
head>
<
title>HTML Atributo Style</title>
</
head>
<
body>
<
b>Texto en negrita</b><br />
<
b style="background-color: Green; color: White;">Texto en negrita con color de fondo verde</b>
</
body>
</
html>

Con el ejemplo de arriba, cualquiera que sea el color de fondo de la página HTML, el elemento
<b></b> ha sido asignado un estilo que lo anula. Vamos a hacer otro ejemplo más complejo.

<
html>
<
head>
<
title>HTML Atributo Style Complejo</title>
</
head>
<
body style="background-color: lemonchiffon">
<
table border="1" style="width: 120px; height: 60px">
<
tr>
<
td style="width: 40px">
Esta celda no tiene un estilo asignado.
</td>
<
td style="width: 40px; color: white; background-color: red;">
El estilo de esta celda es diferente.
</td>
<
td style="width: 40px; color: yellow; font-style: italic; background-color: blue;">
El estilo de esta celda es diferente.

</
td>
</
tr>
</
table>
</
body>
</
html>

Con el ejemplo de arriba asignamos un color de fondo al cuerpo (body) del documento. No le asignamos a la tabla un color de fondo así que la tabla heredó el color de fondo del cuerpo. A la primera celda de la tabla no se le asignó un color de fondo así que heredó el color de fondo de la tabla. A la segunda y tercera celda se les asignaron colores de fondo así que ellas no heredaron el color de fondo de la tabla.

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