George John has Published 1167 Articles

Usage of CSS align-content property space-between value

George John

George John

Updated on 24-Jun-2020 15:59:06

93 Views

Use the align-content property with value space-between to add space between the flex lines.You can try to run the following code to implement the space-between valueExampleLive Demo                    .mycontainer {             display: flex;       ... Read More

Shorthand CSS property for flex-direction and flex-wrap

George John

George John

Updated on 24-Jun-2020 15:38:04

162 Views

Use the flex-flow property to set the flex-direction and flex-wrap property in a single property. You can try to run the following code to implement the flex-flow propertyExampleLive Demo                    .mycontainer {             display: flex;   ... Read More

Usage of CSS align-content property center value

George John

George John

Updated on 24-Jun-2020 14:59:10

176 Views

Use the align-content property with value center to set the flex lines to the center.You can try to run the following code to implement the center valueExampleLive Demo                    .mycontainer {             display: flex;   ... Read More

CSS flex container properties

George John

George John

Updated on 24-Jun-2020 14:28:15

126 Views

The following are the CSS flex container properties flex-direction flex-wrap flex-flow justify-content align-items align-content

What is the MySQL VARCHAR max size?

George John

George John

Updated on 24-Jun-2020 14:15:23

4K+ Views

The MySQL version before 5.0.3 was capable of storing 255 characters but from the version 5.0.3 , it is capable of storing 65, 535 characters.MySQL official documentation states −The effective maximum length of a VARCHAR in MySQL 5.0.3 and later is subject to the maximum row size (65, 535 bytes, ... Read More

Difference between Schema and Database in MySQL?

George John

George John

Updated on 24-Jun-2020 14:07:57

4K+ Views

In MySQL, schema is synonymous with database. As the query is written to create the database, similarly the query can be written to create the schema.Logical structure can be used by the schema to store data while memory component can be used by the database to store data. Also, a ... Read More

Getting values from HTML5 Canvas to JavaScript

George John

George John

Updated on 24-Jun-2020 14:03:43

264 Views

When we draw anything on Canvas, it keeps no memory of anything that was drawn. While drawing we need to keep track of all the necessary information yourself as we draw. Therefore, it is not feasible to get value from HTML5 canvas to JavaScript as it keeps no memory. It ... Read More

How to change max_allowed_packet size in MySQL?

George John

George John

Updated on 24-Jun-2020 13:58:44

2K+ Views

The max_allowed_packet size is a session variable and is also a read only variable.To check what is the present value of max_allowed_packet, the command show variables is used. It is given as follows −mysql> show variables like 'max_allowed_packet';The following is the output+--------------------+---------+ | Variable_name | ... Read More

How to save canvas data to file in HTML5?

George John

George John

Updated on 24-Jun-2020 13:55:49

2K+ Views

A Canvas is just a rectangular area on the HTML page. We can draw graphics in this rectangular area (Canvas) with the help of JavaScript. Canvas can be created in HTML5 as −                                 This creates an ... Read More

How to modify the size of column in MySQL table?

George John

George John

Updated on 24-Jun-2020 13:54:09

611 Views

We can modify a column size with the help of ALTER command. Let us see how to modify column size. Suppose we are defining any column with some size. At the time of inserting if we are giving more size in comparison to the one we defined, then an error ... Read More

Advertisements