Java: Java Programming For Beginners a simple Start To Java Programming (Written By a software Engineer)


Download 0.82 Mb.
Pdf ko'rish
bet94/95
Sana09.01.2022
Hajmi0.82 Mb.
#261112
1   ...   87   88   89   90   91   92   93   94   95
Bog'liq
Java Programming For Beginners - A Simple Start to Java Programming ( PDFDrive )

How to Define and Apply Style


The  definition  and  application  of  a  style  involves  two  facets  or  parts,  selector  and
declaration. While the selector determines the area of the webpage that needs to be styled,
the  declaration  block  describes  the  style  specifications  that  have  to  be  implemented.  In
order to illustrate how it works, let us consider the following example,
body {
color: white;
}
In  this  example,  the  selector  selects  the  body  of  the  webpage  and  the  declaration  block
defines  that  the  font  color  should  be  changed  to  white.  This  is  a  simple  example  and
declarations and selectors can be much more complex than this.

Download 0.82 Mb.

Do'stlaringiz bilan baham:
1   ...   87   88   89   90   91   92   93   94   95




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling