Basic HTML

Advance HTML

HTML Tags Reference

HTML Code Generator


HTML <style> Tag


HTML <style> tag define a style sheet definition (usually inline style, internal style or get external style sheet).


Example-Code:

<span style="color:#66ffcc;">
Span Example.1 
</span> 
<br />
<span style="color:#ffcc00;">
Span Example.2
</span>
Online Try This Code Your Self....   »

Example-Result:

Span Example.1
Span Example.2

<style> Attributes

Attributes Value Description
type "text/css" Declared type of the style sheet.
media "screen"
"print"
"tv"
"projection"
define style document which type devices.

Dynamic Attributes

<style> tag does not support Dynamic attributes.:


Event Attributes

<style> tag does not support Event attributes.: