NEWS & UPDATES >> BCA BCSP064 Synopsis & Project Work Started for DEC 2017, IGNOU MCA MCSP060 Synopsis Work Started for DEC 2017, CONTACT 4 IGNOU Mini Project
Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

CSS Short Q/A by IGNOU Best Coaching Institute NiPS

The list-style-position specifies whether a long point that wraps to a second line should align with the first line or start underneath the start of the marker.
The list-style-image specifies an image for the marker rather than a bullet point or number.
The list-style serves as shorthand for the styling properties.
The marker-offset specifies the distance between a marker and the text in the list.
The padding-bottom specifies the bottom padding of an element.
The padding-top specifies the top padding of an element.
The padding-left specifies the left padding of an element.
The padding-right specifies the right padding of an element.
The padding serves as shorthand for the all the padding properties.
The cursor property of CSS allows you to specify the type of cursor that should be displayed to the user.
auto − Shape of the cursor depends on the context area it is over. For example, an 'I' over text, a 'hand' over a link, and so on.
crosshair − A crosshair or plus sign.
default − An arrow.
pointer − A pointing hand (in IE 4 this value is hand).
move or text − The 'I' bar.
wait − An hour glass.
help − A question mark or balloon, ideal for use over help buttons.
Yes! set the url as the source of a cursor image file.
The outline-width property is used to set the width of the outline.
The outline-style property is used to set the line style for the outline.

CSS Important Short Question Answer by NiPS Institute


The text-shadow property is used to set the text shadow around a text.
The border property is used to set the width of an image border.
The height property is used to set the height of an image.
The width property is used to set the width of an image.
The -moz-opacity property is used to set the opacity of an image.
The :link signifies unvisited hyperlinks.
The :visited signifies visited hyperlinks.
The :hover signifies an element that currently has the user's mouse pointer hovering over it.
The :active signifies an element on which the user is currently clicking.
The border-collapse specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style.
The border-spacing specifies the width that should appear between table cells.
The caption-side captions are presented in the <caption> element. By default, these are rendered above the table in the document. You use the caption-side property to control the placement of the table caption.
The empty-cells specifies whether the border should be shown if a cell is empty.
The table-layout allows browsers to speed up layout of a table by using the first width properties it comes across for the rest of a column rather than having to load the whole table before rendering it.
The border-color specifies the color of a border.
The border-style specifies whether a border should be solid, dashed line, double line, or one of the other possible values.
The border-width specifies the width of a border.
The margin specifies a shorthand property for setting the margin properties in one declaration.
The margin-bottom specifies the bottom margin of an element.
The margin-top specifies the top margin of an element.
The margin-left specifies the left margin of an element.
The margin-right specifies the right margin of an element.
The list-style-type allows you to control the shape or appearance of the marker.

CSS Basic Question Answer for IGNOU BCA MCA by NiPS Institute


There is the list of 216 colors which are supposed to be most safe and computer independent colors. These colors vary from hexa code 000000 to FFFFFF. These colors are safe to use because they ensure that all computers would display the colors correctly when running a 256 color palette.
The background-color property is used to set the background color of an element.
The background-image property is used to set the background image of an element.
The background-repeat property is used to control the repetition of an image in the background.
The background-position property is used to control the position of an image in the background.
The background-attachment property is used to control the scrolling of an image in the background.
The background property is used as a shorthand to specify a number of other background properties.
The font-family property is used to change the face of a font.
The font-style property is used to make a font italic or oblique.
The font-variant property is used to create a small-caps effect.
The font-weight property is used to increase or decrease how bold or light a font appears.
The font-size property is used to increase or decrease the size of a font.
The font property is used as shorthand to specify a number of other font properties.
The color property is used to set the color of a text.

CSS Important Question For BCA MCA Students

% - Defines a measurement as a percentage relative to another value, typically an enclosing element.
p {font-size: 16pt; line-height: 125%;}
cm − Defines a measurement in centimeters.
div {margin-bottom: 2cm;}
em − A relative measurement for the height of a font in em spaces. Because an em unit is equivalent to the size of a given font, if you assign a font to 12pt, each "em" unit would be 12pt; thus, 2em would be 24pt.
p {letter-spacing: 7em;}
ex − This value defines a measurement relative to a font's x-height. The x-height is determined by the height of the font's lowercase letter.
p {font-size: 24pt; line-height: 3ex;}
in − Defines a measurement in inches.
p {word-spacing: .15in;}
mm − Defines a measurement in millimeters.
p {word-spacing: 15mm;}
pc − Defines a measurement in picas. A pica is equivalent to 12 points; thus, there are 6 picas per inch.
p {font-size: 20pc;}
pt − Defines a measurement in points. A point is defined as 1/72nd of an inch.
body {font-size: 18pt;}
px − Defines a measurement in screen pixels.
p {padding: 25px;}
vh − 1% of viewport height.
h2 { font-size: 3.0vh; }
vw − 1% of viewport width.
h1 { font-size: 5.9vw; } 
vmin 1vw or 1vh, whichever is smaller.
p { font-size: 2vmin;}
You can specify your color values in various formats. Following table lists all the possible formats −
FormatSyntaxExample
Hex Code#RRGGBBp{color:#FF0000;}
Short Hex Code#RGBp{color:#6A7;}
RGB %rgb(rrr%,ggg%,bbb%)p{color:rgb(50%,50%,50%);}
RGB Absolutergb(rrr,ggg,bbb)p{color:rgb(0,0,255);}
keywordaqua, black, etc.p{color:teal;}