Example of using CSS and HTML to Blogger
section#articles
{
margin: 10px;
text-align: justify;
font-family:Verdana,Sans-Serif;
font-size: small;
line-height:160%;
}
#msg1
{
color:red;
}
#msg2
{
color: #674ea7;
}
#end_links
{
font-family: Trebuchet MS,sans-serif;
font-weight: bold;
color: #674ea7;
margin: 10px;
}
This is the first paragraph.
This is the second paragraph and it will be in 'red color'{see CSS above}.
This is the third paragraph and it will use the color code "#674ea7"
|section id="articles"|
|article|
This is the first paragraph.
|/article|
|article id="msg1"|
This is the second paragraph and it will be in 'red color'{see CSS above, it is using #msg1}.
|/article|
|article id="msg2"|
This is the third paragraph and it will use the color code "#674ea7" {see CSS above, it is using #msg2}
|/article|
|/section|
NOTE: REPLACE all "|" with "<" and ">"
Comments
Post a Comment