Smita Kapse has Published 498 Articles

How to draw circle in HTML page?

Smita Kapse

Smita Kapse

Updated on 25-Feb-2020 07:51:53

10K+ Views

To draw a circle in HTML page, use SVG or canvas. You can also draw it using CSS, with the border-radius property.ExampleYou can try to run the following code to learn how to draw a circle in HTMLLive Demo                   ... Read More

How to play sound file in a web-page in the background?

Smita Kapse

Smita Kapse

Updated on 25-Feb-2020 07:37:38

25K+ Views

The HTML element is used to add audio to web page. To play sound file in the background on a web page, use the … element. Also, use the autoplay attribute. This will run music in the background whenever the page loads.Set the width and height in a way ... Read More

How to download all images on a web page at once?

Smita Kapse

Smita Kapse

Updated on 25-Feb-2020 07:18:08

2K+ Views

Chrome Extensions eases your work since it provides more features. To download all images on a web page at once, use a Chrome Extension.Download the Image Downloader chrome extension, which is open source. After adding it to Chrome, you can see the following settings −An icon will be visible in ... Read More

C++ vs C++0x vs C++11 vs C++98

Smita Kapse

Smita Kapse

Updated on 11-Feb-2020 11:15:38

2K+ Views

C++98 was the first edition of the C++ standard. It had defined all the basic language constructs, the STL, and the standard library.C++03 was the next revision to this standard. This was majorly a considered a bugfix for the standard as it corrected 92 core language defect reports, 125 library ... Read More

What are copy elision and return value optimization?

Smita Kapse

Smita Kapse

Updated on 11-Feb-2020 10:36:03

514 Views

Copy elision is an optimization implemented by most compilers to prevent extra (potentially expensive) copies in certain situations. So if you have some code that is creating objects not being used or don't have side effects, examplestruct MyStruct {    MyStruct() {}    MyStruct(const MyStruct&) {       std::cout

What is the maximum length of each type of identifier in MySQL?

Smita Kapse

Smita Kapse

Updated on 06-Feb-2020 10:31:07

566 Views

As we know that certain objects within MySQL are known as identifiers. These objects include a database, table, index, column, alias, view, stored procedure, partition, tablespace etc. Identifiers are stored using Unicode (UTF-8). The maximum length of each type of identifier is given in the following table:Sr. No.IdentifierMaximum Length (characters)1Database642Table643Column644Index645Constraint646Stored ... Read More

How to access Java package from another package

Smita Kapse

Smita Kapse

Updated on 04-Feb-2020 11:26:52

6K+ Views

You can understand it using an example where a Boss class is defined in payroll package.package payroll; public class Boss {    public void payEmployee(Employee e) {       e.mailCheck();    } }if the Employee class is not in the payroll package? The Boss class must then use one ... Read More

How Can MySQL exact-value arithmetic handle overflow?

Smita Kapse

Smita Kapse

Updated on 30-Jan-2020 07:11:01

113 Views

MySQL exact-value arithmetic can handle overflow occurs during numerical expression assessment because overflow occurs depends on the range of the operands. The values used in arithmetic expressions changed to other data type can put away the overflow.For example, after converting the BIGINT Maximum value to DECIMAL while adding 1 to ... Read More

How to allow the restricted resources from another domain in web browser with HTML5

Smita Kapse

Smita Kapse

Updated on 29-Jan-2020 10:50:07

307 Views

Cross-origin resource sharing (CORS) is a mechanism to allows the restricted resources from another domain in a web browserFor suppose, if you click on HTML5- video player in html5 demo sections. it will ask camera permission. if user allows the permission then only it will open the camera or else ... Read More

How to check web browser support in HTML5

Smita Kapse

Smita Kapse

Updated on 29-Jan-2020 08:35:39

260 Views

You can try to run the following code to detect a web worker feature available in a web browser:           Big for loop                      function myFunction(){             if (Modernizr.webworkers) ... Read More

Advertisements