CSS Properties
Display property We can explain through the live examples. we create two div and span than we write class on this. like box & box1. display : inline ; if we write display : inline ; than check output...... before and after. <! DOCTYPE html > < html lang = "en" > < head > < meta charset = "UTF-8" /> < meta name = "viewport" content = "width=device-width, initial-scale=1.0" /> < title > CSS display </ title > < style > * { margin : 0 ; padding : 0 ; } .box { // before set display inline. border : 2px solid red ; } </ style > </ head > < body > // div box < div class = "box box1" > hellooo how are you ? </ div > ...