Chandu yadav has Published 1091 Articles

Change the style of left border with CSS

Chandu yadav

Chandu yadav

Updated on 31-Jan-2020 10:17:47

122 Views

The border-left-style property changes the style of left border. You can try to run the following code to implement border-left-style property:Example                            Example showing left border          

Usage of CSS border-collapse property

Chandu yadav

Chandu yadav

Updated on 31-Jan-2020 07:31:10

55 Views

The border-collapse specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style.ExampleYou can try to run the following code to learn how to work with border-collapse property                   ... Read More

Usage of -moz-opacity property with CSS

Chandu yadav

Chandu yadav

Updated on 31-Jan-2020 06:54:52

803 Views

The -moz-opacity property of an image is used to set the opacity of an image. This property is used to create a transparent image in Mozilla. IE uses filter:alpha(opacity=x) to create transparent images.ExampleYou can try to run the following code to style an image and set opacity with CSS   ... Read More

What is the way to get self-computed output from MySQL without a dummy table named dual?

Chandu yadav

Chandu yadav

Updated on 29-Jan-2020 06:25:36

182 Views

In MySQL, we can simply specify the SELECT conditions all alone to get the self-computed output. Following example will demonstrate it −mysql> Select 1+1; +-----+ | 1+1 | +-----+ | 2   | +-----+     1 row in set (0.02 sec) mysql> Select 1; +---+ | 1 | +---+ | 1 | +---+ 1 row in set (0.00 sec)

How can I change the value of an instance of a row in MySQL table?

Chandu yadav

Chandu yadav

Updated on 29-Jan-2020 05:47:24

299 Views

UPDATE command along with WHERE clause can be used to change the value of an instance of a row. Basically, MySQL will change the value on the basis of the condition given in the query. Following example can demonstrate itSuppose we want to change the name from ‘Ram’ to ‘Mohit’ ... Read More

How can we display a list of currently existing MySQL databases on the server?

Chandu yadav

Chandu yadav

Updated on 28-Jan-2020 10:24:46

107 Views

The SHOW DATABASES command is used to display the list of currently existing MySQL databases.mysql> Show Databases; +-----------------------------+ | Database                    | +-----------------------------+ | information_schema          | | gaurav                      | | mysql                       | | performance_schema          | | query                       | | query1                      | | sys                         | | tutorials                   | +-----------------------------+ 8 rows in set (0.02 sec)

How does the compilation/linking process work in C/C++?

Chandu yadav

Chandu yadav

Updated on 27-Jan-2020 12:37:53

5K+ Views

The compilation of a C++ program consists of three steps −Preprocessing − In simple terms, a C Preprocessor is just a text substitution tool and it instructs the compiler to do required pre-processing before the actual compilation. It handles preprocessing directives like #include, #define, etc.Compilation − The compilation takes place ... Read More

How can I get the list of files in a directory using C/C++?

Chandu yadav

Chandu yadav

Updated on 27-Jan-2020 12:32:32

2K+ Views

Standard C++ doesn't provide a way to do this. You could use the system command to initialize the ls command as follows −Example#include int main () {    char command[50] = "ls -l";    system(command);    return 0; }OutputThis will give the output −-rwxrwxrwx 1 root root  9728 Feb 25 ... Read More

Make HTML5 Canvas fill the whole page

Chandu yadav

Chandu yadav

Updated on 27-Jan-2020 08:06:38

3K+ Views

To make canvas fill the whole page, you need to be 100% in width and height of the page.* {    margin: 0;    padding: 0; } body, html {    height:100%; } #canvas {    position:absolute;    height:100%; width:100%; }

Are new HTML5 elements like
and

Chandu yadav

Chandu yadav

Updated on 27-Jan-2020 06:11:15

145 Views

The elements and are useful for screenreaders as well and help visually impaired users in reading the content of your web page. These are beneficial for eBook readers as well.Let us see how to work with both the elements.           HTML Section Tag ... Read More

Advertisements