Style Tags Explained
Posted by admin on Sep 16, 2009 in Coding | 0 comments
Basic STYLE TAGS and CSS ( Cascading style sheets ) Explained.
The CSS
(cascading style sheets) syntax is made up of three parts: a selector, a property and a value:
Example:
[cc lang="css"]
selector {property: value;}
[/cc]
The above code stands for something like this below.
[cc lang="css"]
.main { width: 800px; }
[/cc]
Now the style tag's are at the beginning and at the end of your css (cascading style sheets) to make the css codes work like example below and to show the style / coloring / etc: of the web site.
[cc lang="html"]
[/cc]
-------OR-------
[cc lang="html"]
[/cc]
-------OR-------
[cc lang="html"]
[/cc]
and you always have a beginning tag and an end tag which is:
[cc lang="html"]
[/cc]
or
[cc lang="html"]
[/cc]
and for best results only use one set of style tags per web page.
More info on CSS coming soon. Also see out tutorial post on external style sheets / tags.