CSS का परिचय Introduction of css in hindi

CSS का full form cascading style sheet होता है यह case-insensitive language है इसे html tag मे apply किया जाता है यह html को additional feature provide करता है बिना html के css का use नही कर सकते webpage को decorate करने या  colorful , attractive design करने के लिए css का use करते है ।

History of CSS

Css को 1996 मे w3c (world wide web consortium) नाम कि एक संस्था ने develop किया css के version css1,css2, css3 है ।  

Element क्या होता है ?

opening tag , attribute ,closing tag को एक साथ element कहते है इसमे opening और closing tag के बीच लिखे text भी शामिल होते है ।   

element example

id name क्या होता है ?

id name normal text होते है html tag मे id attribute का use कर value मे कोई भी name दे सकते है name मे letter के अलावा  special characters ($,_,@  etc..) , number use कर सकते है ।  <br>

example :- <p id=”p1” > paragraph

Class name क्या होता है ?  

class name normal text होते है html tag मे class attribute का use कर value मे कोई भी name दे सकते है name मे letter के अलावा special characters ($,_,@  etc..) , number use कर सकते है । <br>

example :-  <p class=”cls1”> paragraph

CSS का use क्यो करे ?  

1 html से हम webpage का structure create कर सकते है लेकिन उसे decorate नही कर सकते <br>

2 css के कुछ line का code लिखकर web page को decorate कर सकते है । <br>  

3 css से Webpage के background , text , images , link , table etc.. इन सभी का color , Position , alignment आदि को change कर सकते है । <br>   

4 css का use करने से time save होता है क्योकि एक ही webpage design को multiple webpage या html file मे use कर सकते है  


Connect with us

facebook logo
Email : contact@amcodestar.com
© Copyright amcodestar.com 2020 - 2023 All Rights Reserved.
About us     term and condition      comment policy
DMCA.com Protection Status