ads

ads

Wednesday, October 25, 2017

CSS Styles

CSS Styles 

Cascading style sheets has much formats are there like header, paragraph , body and his classes and also we can use format on id. htmls are used for the purpose of css style. 



CSS sample style:


body {
    background-color: green ;
}

h1 {
    color: yellow;
    text-align: left;
}

p {
    font-family: arial;
    font-size: 10px;
}

Explanation :


Its simple style format for basic html 
output data was background is green color and then header style was alignment left and also its color was yellow color
Next one was paragraph has also certain style and thare font size was 10 pixel and also that font style was arial black 

Monday, October 23, 2017

CSS Overivew

CSS Overview

CSS is a cascading style sheet. Which was used inside of html webpages. CSS was used to formatted webpages like font style , background style. marquee text and so on. CSS has much predefined function and variable and objects.


Syntax


Declare Style tag at starting of the CSS files
body of CSS functions and content.

Example:


<style>
background-color:FFF;
align : left:
</style>

Above simple Css file was just modify background color and alignment left. We can write style script separate classes. CSS has huge predefined class function and huge keywords. We will analyse Other style script on next Post about CSS.