Ankith Reddy has Published 1210 Articles

Style the document's root element with CSS

Ankith Reddy

Ankith Reddy

Updated on 01-Jul-2020 09:18:45

To style document’s root element, use the CSS: root selector.ExampleYou can try to run the following code to implement the: root SelectorLive Demo                    :root {             background: blue;             color: white;          }                     Heading       This is demo text.    

Style element with no "readonly" attribute with CSS

Ankith Reddy

Ankith Reddy

Updated on 01-Jul-2020 09:16:36

Use the CSS: read-write selector to select elements with no "readonly" attribute.ExampleYou can try to run the following code to implement the: read-write selectorLive Demo                    input:read-write {             background-color: blue;             color: white;          }                              Subject:          Student:          

Role of CSS :only-of-type Selector

Ankith Reddy

Ankith Reddy

Updated on 01-Jul-2020 08:58:41

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

8085 Program for subtraction of multi-Byte BCD numbers

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 13:22:44

Now let us see a program of Intel 8085 Microprocessor. In this program we will see how to subtract multi-Byte BCD numbers.Problem StatementWrite 8085 Assembly language program to subtract two multi-Byte BCD numbers.DiscussionThe numbers are stored into memory, and one additional information is stored. It will show us the Byte ... Read More

How to open MySQL command line on Windows10?

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 12:38:34

To open the MySQL command line from cmd, you need to use username root with your password.Follow the below given steps. The syntax is as follows −cd \> press enter key cd Program Files\MySQL\MySQL Server 8.0\bin> press enter key C:\Program Files\MySQL\MySQL Server 8.0\bin>mysql -uroot -p press enter key Enter password: ... Read More

gmp_and() function in PHP

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 11:37:01

The gmp_and() function computes the bitwise AND of two GMP numbers.Syntaxgmp_and($n1, $n2)Parametersn1 − The first GMP number. It can be GMP object in PHP version 5.6 and later. Can also be numeric strings.n2 − The second GMP number. It can be GMP object in PHP version 5.6 and later. Can ... Read More

X-axis 3D transform with CSS3

Ankith Reddy

Ankith Reddy

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

You can try to run the following code to implement X-axis 3D transform with CSS3ExampleLive Demo                    div {             width: 200px;             height: 100px;             background-color: pink;             border: 1px solid black;          }            div#myDiv {             -webkit-transform: rotateX(150deg);             /* Safari */ transform: rotateX(150deg);             /* Standard syntax */          }                              tutorials point.com                      Rotate X-axis                             tutorials point.com.                

Conversion of Binary to Gray Code

Ankith Reddy

Ankith Reddy

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

The reflected binary code or Gray code is an ordering of the binary numeral system such that two successive values differ in only one bit (binary digit). Gray codes are very useful in the normal sequence of binary numbers generated by the hardware that may cause an error or ambiguity ... Read More

Style links on mouse over with CSS

Ankith Reddy

Ankith Reddy

Updated on 30-Jun-2020 11:11:46

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.    

1's Complement vs 2's Complement

Ankith Reddy

Ankith Reddy

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

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 ... Read More

Advertisements