Chandu yadav has Published 1165 Articles

Role of CSS: valid Selector

Chandu yadav

Chandu yadav

Updated on 01-Jul-2020 09:20:32

140 Views

Use the CSS : valid selector to style all elements with a valid value .ExampleYou can try to run the following code to implement the :valid SelectorLive Demo                    input:valid {             background: red;             color: white;          }                     Heading             The style (red color background) appears if you type a relevant/ valid email address.    

Style elements with a "required" attribute with CSS

Chandu yadav

Chandu yadav

Updated on 01-Jul-2020 09:17:28

357 Views

Use the CSS : required selector to style elements with a "required" attribute.ExampleYou can try to run the following code to implement the :required SelectorLive Demo                    input:required {             background-color: orange;          }                              Subject:          Student:          

Role of CSS: out-of-range Selector

Chandu yadav

Chandu yadav

Updated on 01-Jul-2020 09:14:33

40 Views

Use the CSS :out-of-range selector to style elements with a value outside a specified range.ExampleYou can try to run the following code to implement the :out-of-range selectorLive Demo                    input:out-of-range {             border: 3px dashed orange;             background: yellow;          }                           The style only works for the value entered out of range    

Get only digits using regexp in MySQL?

Chandu yadav

Chandu yadav

Updated on 30-Jun-2020 12:45:51

18K+ Views

If you want to get only digits using REGEXP, use the following regular expression( ^[0-9]*$) in where clause.Case 1 − If you want only those rows which have exactly 10 digits and all must be only digit, use the below regular expression.SELECT *FROM yourTableName WHERE yourColumnName REGEXP '^[0-9]{10}$';Case 2 − ... Read More

System variables vs Local Variables in MySQL?

Chandu yadav

Chandu yadav

Updated on 30-Jun-2020 12:16:18

341 Views

The local variable has the scope for only a set of statements or block of statement. Whenever a set of statements or block of statement has completed then local variable goes out of scope.For ExampleLocal variable can be used in stored procedure, function etc. It is used with the DECLARE ... Read More

Role of CSS :not (selector) Selector

Chandu yadav

Chandu yadav

Updated on 30-Jun-2020 11:17:36

244 Views

Use the CSS :not(selector) selector to style every element that is not the specified element. You can try to run the following code to implement the :not selectorExampleLive Demo                    p {             color: red;          }          :not(p) {             color: blue;          }                     Heading 1       Heading 2       Heading 3       This is a paragraph.       This is another paragraph.    

Role of CSS :nth-of-type(n) Selector

Chandu yadav

Chandu yadav

Updated on 30-Jun-2020 11:15:58

124 Views

Use the CSS :nth-of-type(n) selector to style every element that is the nth element of its parent. You can try to run the following code to implement the :nth-of-type(n) selectorExampleLive Demo                    p:nth-of-type(2) {         ... Read More

Role of CSS:lang Selector

Chandu yadav

Chandu yadav

Updated on 30-Jun-2020 11:08:57

64 Views

Use the CSS :lang selector to style every element with a lang attribute value with CSS. You can try to run the following code to implement the :lang selectorExampleLive Demo                    p:lang(fr) {             background: greeb;          }                     This is my country       C'est mon pays       French is the language of France    

Digital Integrated Circuits

Chandu yadav

Chandu yadav

Updated on 30-Jun-2020 10:58:25

12K+ Views

A microprocessor is digital is a digital circuit which is built using a combination logic functions. The microprocessor package contains an integrated circuit.Integrated CircuitAn integrated circuit is electronic circuit or device that has electronic components on a small semiconductor chip. It has functionality of logic AND or amplifying of a ... Read More

Role of CSS: first-child Selector

Chandu yadav

Chandu yadav

Updated on 30-Jun-2020 09:48:28

115 Views

Use the CSS :first-child selector to style every elements that is the first child of its parent.ExampleYou can try to run the following code to implement the :first-child selectorLive Demo                    p:first-child {             ... Read More

Previous 1 ... 3 4 5 6 7 ... 117 Next
Advertisements