Articles on Trending Technologies

Technical articles with clear explanations and examples

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

Chandu yadav
Chandu yadav
Updated on 30-Jun-2020 247 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) {             background: yellow;          }                     This is demo text 1.       This is demo text 2.       This is demo text 3.       This is demo text 4.    

Read More

Style all <input> elements with an invalid value with CSS

radhakrishna
radhakrishna
Updated on 30-Jun-2020 228 Views

To style all elements with an invalid value, use the CSS :invalid selector.ExampleYou can try to run the following code to implement the :invalid selector −Live Demo                    input:invalid {             background: red;          }                     Heading             The style (red color background) appears if you type an irrelevant/ invalid email address.    

Read More

Role of CSS :invalid Selector

Arjun Thakur
Arjun Thakur
Updated on 30-Jun-2020 264 Views

Use the CSS :invalid selector to style all elements with an invalid value. You can try to run the following code to implement the :invalid selectorExampleLive Demo                    input:invalid {             background: red;          }                     Heading                    The style (red color background) appears if you type an irrelevant/ invalid email address.    

Read More

Style links on mouse over with CSS

Ankith Reddy
Ankith Reddy
Updated on 30-Jun-2020 303 Views

To style links on mouse over with CSS, use the CSS: hover selector. You can try to run the following code to implement the: hover, selector,ExampleLive Demo                    a:hover {             background-color: orange;          }                     Google       Keep the mouse cursor on the above link and see the effect.    

Read More

Role of CSS :last-of-type Selector

vanithasree
vanithasree
Updated on 30-Jun-2020 196 Views

Use the CSS :last-child selector to style every element that is the last child of its parent.ExampleYou can try to run the following code to implement the :last-child selector −Live Demo                    p:last-of-type {             background: orange;          }                     Heading       This is demo text1.       This is demo text2.       This is demo text3.    

Read More

How to perform update in MySQL to disallow incrementing all the values above a specific value?

Kumar Varma
Kumar Varma
Updated on 30-Jun-2020 113 Views

Let us first create a table −mysql> create table DemoTable    -> (    -> Value int    -> ); Query OK, 0 rows affected (0.54 sec)Insert some records in the table using insert command −mysql> insert into DemoTable values(100); Query OK, 1 row affected (0.21 sec) mysql> insert into DemoTable values(150); Query OK, 1 row affected (0.13 sec) mysql> insert into DemoTable values(180); Query OK, 1 row affected (0.13 sec) mysql> insert into DemoTable values(200); Query OK, 1 row affected (0.14 sec)Display all records from the table using select statement −mysql> select *from DemoTable;Output+-------+ | Value ...

Read More

Role of CSS:lang Selector

Chandu yadav
Chandu yadav
Updated on 30-Jun-2020 124 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    

Read More

1's Complement vs 2's Complement

Ankith Reddy
Ankith Reddy
Updated on 30-Jun-2020 36K+ Views

Complements are used in digital computers in order to simply the subtraction operation and for the logical manipulations. For the Binary number (base-2) system, there are two types of complements: 1’s complement and 2’s complement.1’s Complement of a Binary NumberThere is a simple algorithm to convert a binary number into 1’s complement. To get 1’s complement of a binary number, simply invert the given number.2’s Complement of a Binary NumberThere is a simple algorithm to convert a binary number into 2’s complement. To get 2’s complement of a binary number, simply invert the given number and add 1 to the ...

Read More

What is Piggybacking in Networking?

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jun-2020 17K+ Views

In reliable full - duplex data transmission, the technique of hooking up acknowledgments onto outgoing data frames is called piggybacking.Why Piggybacking?Communications are mostly full – duplex in nature, i.e. data transmission occurs in both directions. A method to achieve full – duplex communication is to consider both the communication as a pair of simplex communication. Each link comprises a forward channel for sending data and a reverse channel for sending acknowledgments.However, in the above arrangement, traffic load doubles for each data unit that is transmitted. Half of all data transmission comprise of transmission of acknowledgments.So, a solution that provides better ...

Read More

Digital Integrated Circuits\\n

Chandu yadav
Chandu yadav
Updated on 30-Jun-2020 15K+ 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 signal. These are mainly two types of circuits: Digital or Analog. Analog ICs handle continuous signals such as audio signals and Digital ICs handle discrete signals such as binary values.Types of Integrated CircuitsThere are different types of integrated circuits based various criteria. Based on intended application, the Integrated Circuit (IC) ...

Read More
Showing 41861–41870 of 61,248 articles
Advertisements