Saturday, 20 September 2014

What Is Media Query In Using CSS BootStrap.....

                             What Is Media Query?

One of the most important features of style sheets is that they specify how a document is to be presented on different media: on the screen, on paper, with a speech synthesizer, with a braille device, etc.

  1. here are currently two ways to specify media dependencies for style sheets:
  • Specify the target medium from a style sheet with the @media or @import at-rules.
  • Specify the target medium within the document language.
For e.g:-
<style tyle="text/css">
<!--
@media print {
    body { font-size: 10pt }
  }
  @media screen {
    body { font-size: 12pt }
  }
  @media screen, print {
    body { line-height: 1.2 }
  }
-->
</style>










Wednesday, 17 September 2014

What are Difference between (= =) and (= = =) this Two Relational Operators ?

            What are Difference between (= =) and (= = =) this Two                              Relational Operators ?

Ans:-   The  Relational Operator (a = = = b)
                  a = = = b                    a = = b when a and b are two string objects that contain equivalent characters, the = = = operator will still return true.


For e.g :-

The languages JavaScript and PHP extend this syntax, with the "= =" operator able to return true if two values are equal, even if they have different types.

(for example: "4 = = "4"" is true) and the "= = =" operator returning true only if two values are equal and have equivalent types as well (such that "4 = = = "4"" is 

false but "4 = = = 4" is true). This comes in handy when checking if a value is assigned the value of 0, since "x = = 0" is true for x being 0, but also for x being "0" 

(i.e. a string containing the character 0) and false (as PHP, like other languages, equates 0 to false), and that is not always what one wants, but "x = = = 0" is only 

true when x is 0. When comparing objects in PHP 5, the "= =" operator tests for structural equality, while the "= = =" operator tests for physical equality.







Types Of Operator......

                 Types Of Operator......

1) Unary Operator:-

The following operators are unary:
  • Increment: ++
  • Decrement: − −
  • Address: &
  • Indirection: *
  • Positive: +
  • Negative: −
  • One's complement: ~x
  • Logical negation: !x
  • Sizeof: sizeof x, sizeof(type-name)
  • Cast: (type-name) cast-expression
2)Binary Operator:-

A binary operator is an operator that operates on two operands and manipulates them to return a result.

Some common binary operators in computing include:
  • Equal (= =)
  • Not equal (! =)
  • Less than (<)
  • Greater than (>)
  • Greater than or equal to (> =)
  • Less than or equal to (< =)
  • Logical AND (&&)
  • Logical OR (||)
  • Plus (+)
  • Minus (-)
  • Multiplication (*)
  • Divide ( / )

3)Ternary Operator :-
                                          

syntax :- test ? expression 1 : expression 2

Parameter :-

testAny Boolean expression.
expression 1An expression returned if test is true. May be a comma expression.
expression 2An expression returned if test is false. More than one expression may be a linked by a comma expression.

For e.g :- 


var now = new Date();
var greeting = "Good" + ((now.getHours() > 17) ? " evening." : " day.");





Friday, 12 September 2014

Introduction Of HTML 5

                       Introduction Of HTML 5

HTML 5 is a co operation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG).

WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.

* Some rules for HTML 5 were established:
•New features should be based on HTML, CSS, DOM, and JavaScript
•Reduce the need for external plugins (like Flash)
•Better error handling
•More markup to replace scripting
•HTML5 should be device independent
•The development process should be visible to the public


                     strike out tags

Strike out tags:-


strike out tags used for the display the content ,

like wise login is not succuss success 

tags:-  <p>login is<strike>not succuss</strike>success</p> .


                  Audio hide and videos tags

                                         Audio hide

using  style="visibility:hidden" these properties audio are hide .


<audio controls=""  style="visibility:hidden">
<source src="songs/alimba.mp3" >
</audio>


                                         video tag

<video src="/video/pass-countdown.ogg" width="170" height="85" controls>
<p>If you are reading this, it is because your browser does not support the HTML5 video element.</p>
</video>