Posts

Showing posts from June, 2025

HTML – a must-know for building responsive and dynamic layouts.

 Box Model <!-- at core we have content, padding, border, margin inspect the browser we can see the detail diagram of box model --> <! DOCTYPE html > < html lang = "en" >   < head >     < meta charset = "UTF-8" />     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" />     < title > Document </ title >     < style >       p {         /* padding: 1px 2px 1px 2px; */         /* we give padding value as T R B L -> top right bottom left             if we give single value, it will same value for all direction             last value is not given then, left value will be right value             if 2 value given bottom, will use 1st value, and left will use 2nd value             */ ...