JavaSpartans
Java J2ee Struts Hibernate Spring Interview Questions Java J2ee Struts Hibernate Spring Interview Questions
13 Results; Time:0.037 Sec; Page : 1 ; Results From 1 to 10. Results Per Page

1. What is a Media Query in CSS?

Media query is a CSS technique introduced in CSS3.

It uses the @media rule to include a block of CSS properties only if a certain condition is true.

Example

If the browser window is 600px or smaller, the background color will be lightblue:

@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}


2. What is the difference between id and class od a DIV element in CSS ? When to use id and when to use class ?

In the CSS, a class selector is a name preceded by a full stop ('.') and an ID selector is a name preceded by a hash character ('#'). The difference between an ID and a class is that an ID can be used to identify one element, whereas a class can be used to identify more than one.

3. If we define local style and global styles which one will have effect ?

    There are three types of stylesheets:

    Internal - Placed right on the page whose interface it will affect.
    External - Placed in a separate file.
    Inline - Placed inside a tag it will affect.
    
    Properties of CSS: Inline CSS has the highest priority, then comes Internal/Embedded followed by External CSS which has the least priority.
    
    local style sheets have the highest priority than global.
    
    also, the last defined style have the highest priority in side a file.

4. How many different types of ways to use a Style Sheet in our Tags ?

you can create id with # (hash) or a class with . (dot). or directly we can use style attribute in our tags, or create a local style tags or global style tags in a file called Style.CSS

5. What is the difference between DIV and SPAN tags of HTML ?

div - it is a dom element with display property as a block that is element will take the whole row that is with the line-break.

<div>Your name?</div>
<div>xyz</div>

will be displayed in two different rows. and each div will be considered as an individual block.

Your name?
xyz

span - dom element with display property inline that is without line-break.

<span>Your name?</span>
<span>xyz</span>

the result will be on the same line because of the span

Your name?xyz.


Other usage of span is you can apply different style in side a div element.

6. How do you minify your css files?

Please Answer

7. edgPjhccWiuFcaB

ZNzLid https://xnxxx.web.fc2.com/ xnxx

8. edgPjhccWiuFcaB

ZNzLid https://xnxxx.web.fc2.com/ xnxx

9. qJPCulAur

4OBHoU lrgypojmcnnv, [url=http://qbfddzznczfz.com/]qbfddzznczfz[/url], [link=http://egjtktrojjpd.com/]egjtktrojjpd[/link], http://nawjpmclhyvo.com/

10. qJPCulAur

4OBHoU lrgypojmcnnv, [url=http://qbfddzznczfz.com/]qbfddzznczfz[/url], [link=http://egjtktrojjpd.com/]egjtktrojjpd[/link], http://nawjpmclhyvo.com/

Java J2ee Struts Hibernate Spring Interview Questions
13 Results; Time:0.037 Sec; Page : 1 ; Results From 1 to 10. Results Per Page
Menu - javaspartans.com - Java J2ee Struts Spring Hibernate Interview Questions
Hostens.com - A home for your website
Ads By Google