Varma has Published 69 Articles

How to check table status of the tables in a particular MySQL database?

varma

varma

Updated on 22-Jun-2020 04:56:12

262 Views

We can check the status of tables in a database with the help of show table status statement. For example, in the database named tutorial, by executing this statement we can get the status of tables as follows −mysql> show table status \G*************************** 1. row ***************************         ... Read More

Change the height of element using CSS

varma

varma

Updated on 21-Jun-2020 05:05:59

158 Views

Use the scaleY() method to change the height of the element with CSS.Let us see the syntax −scaleY(n);Here, n is a number representing the scaling factor.Let us see an example −div {    width: 40px;    height: 50px;    background-color: black; } .myScaled {    transform: scaleY(0.9);    background-color: orange; }

How can we take a backup of the single database by using mysqldump client program?

varma

varma

Updated on 20-Jun-2020 10:41:02

100 Views

By using mysqldump client program we can take the backup of a database into a file having the extension ‘.sql’. it can be understood with the help of following example −ExampleIn this example, with the help of mysqldump client program, we are taking the backup of a database named ‘tutorials’ ... Read More

CSS2 sizing property vs CSS3 box sizing property

varma

varma

Updated on 20-Jun-2020 08:40:10

170 Views

Let us understand the difference between CSS2 sizing property and CSS3 box-sizing property.CSS2 sizing propertyLive Demo                    .div1 {             width: 200px;             height: 100px;             ... Read More

What is onmousedown event in JavaScript?

varma

varma

Updated on 19-Jun-2020 11:04:27

353 Views

The onmousedown event triggers when a mouse button is pressed.ExampleYou can try to run the following code to learn how to work with onmousedown event in JavaScript −                                         This is demo text. The onmousedown event triggers when a mouse button is pressed    

How to get current date and time in JavaScript?

varma

varma

Updated on 16-Jun-2020 13:25:45

351 Views

To get current date and time in JavaScript, use the Date object.ExampleYou can try to run the following code to display date and time −                          document.getElementById("currentDate").innerHTML = Date();          

How to display JavaScript variable value in alert box?

varma

varma

Updated on 16-Jun-2020 13:14:18

8K+ Views

To display JavaScript variable value in an alert box, try to run the following code −ExampleLive Demo                    function display() {             var a = "Simple";             var b = "Learning";             alert(a +" Easy "+ b);          }                        

How much data can I store in JavaScript cookies?

varma

varma

Updated on 16-Jun-2020 12:14:45

382 Views

The following are the details of the date you can store in JavaScript cookies −Web BrowserMaximum cookiesMaximum size per cookieGoogle Chrome1804096 bytesFirefox1504097 bytesOpera1804096 bytesAndroid504096 bytes

HTML5 Geolocation without SSL connection

varma

varma

Updated on 02-Jun-2020 07:41:28

546 Views

HTML 5 Geolocation is used to find out the location of the user. This can be without SSL connection. This can be generated as follows −// Variable apigeo shows successful location: var apigeo = function(position) {    alert("API geolocation success!lat = " + position.coords.latitude + "lng = " + position.coords.longitude); ... Read More

How to specify the number of visible options for