CSS:- (CAS CADING style sheet)
CSS:-
html:- (only for designing concept)
JavaScript:- (event handling concept)
CSS:- (page arrangement)
CSS:- (CAS CADING style sheet)
(cas cading style sheet)
1. cas cading:-
- cas cading is process for code sharing approche.
2.style- attributes (height,width,etc.)
3.sheet-file.
- css is collection of attributes (height,width,color,)
- css can not used (<>)tag symbol.
- html attributes is used to (=) operators.
- css attributes is used to (:) operators.
EX.
html- height="100"
css- height:100;
- all numerical element in css is used to (px) symbol.
EX.
height:100px;
- In html file is called page.(about,contact,etc)
- In Css the file is called (sheet).
- types of CSS:-
1-Internal CSS
2-External CSS
3-Inline CSS
4-cross CSS
1) INLINE CSS:-
- inline CSS is directly used with Tag(<>).
-css is representing style attributes.
SYNTEX:-
<tagname style="attribute">
EX.
<font style="color:red"> WELCOME </font>
<html>
<body>
<font style="color:red"> WELCOME </font>
</body>
</html>
2) DIVISION:-
- division is called cell.
-div is used to create a cell on web browser each cell contain a specific information.
-division is used to create <div>.
-there are following attributes used in <Div>
1)background-color
2)height-
3)width-
4)top-
5)left-
6)position (by default fix)-
position=absolute (flexible position)
SYNTEX:-
<html>
<body>
<div id="box1" style="background-color:red; height:100px; width:100px; top:1px; left:500px; position:absolute"> WELCOME </div>
</body>
</html>
Comments
Post a Comment