0% found this document useful (0 votes)
4 views2 pages

Assignment11 More With Css

The document is an assignment by Prince Kumar discussing key CSS concepts such as padding, margin, and the display property. It explains the differences between display inline, block, and inline block, as well as the use of min-height, min-width, max-height, and max-width in media queries for responsive design. These concepts are essential for web development and layout design.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Assignment11 More With Css

The document is an assignment by Prince Kumar discussing key CSS concepts such as padding, margin, and the display property. It explains the differences between display inline, block, and inline block, as well as the use of min-height, min-width, max-height, and max-width in media queries for responsive design. These concepts are essential for web development and layout design.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

{ MORE WITH CSS }

PWSKILLS ASSIGNMENT
DATE:-26/January/2023 PRINCE KUMAR.

QUES1.What is padding and margin and when do you use


them?
Answ. In simple words padding is the space between the contents and
the border that is being given outside the content.
Where as margin is the space
from outside the content between border and starting point of the
webpages.
We can use this when we will work on heading,paragraph….

QUES2. What is display property and explain display inline,


block, and inline block?
Answ. It is that property which helps us to display any element as our
desire on the web-screen. We know that every element of HTML
has its default property to display on the screen( like inline and
block).

1)display inline:- while using this property we can display any


HTML element in inline form means that element
only takes the space on which it is being written.

2)display block:- while using this property we can display any


HTML element in block form means that element
takes whole the space on which it is being written

3)display inline block:-while using this property we can display any


HTML element in block-inline form means
that element takes the space as we describe it by
using width and height.

QUES3. Explain min-height, min-width, max-height, and


max-width in CSS.
Answ. Media queries is a feature of css which helps to customize the
size of the website on different dimension of systems and this
min-height, min-width, max-height, and max-width we can use
in media queries to define the dimension of different systems so
that our websites works properly on systems(with different dim.)

You might also like