Riya Kumari has Published 10 Articles

Several distinct caches for a single URL in HTML Cache?

Riya Kumari

Riya Kumari

Updated on 13-Oct-2022 08:11:22

Content caching is an effective way for fast and smooth user experience. Every URL in a web page can be linked to a single cache manifest section. However, there are certain large and rarely used files which decreases the overall speed of the Cache. Since they do not need to ... Read More

Is there a way to resize image with “nearest neighbour” resampling in HTML5?

Riya Kumari

Riya Kumari

Updated on 13-Oct-2022 08:08:26

Resizing an image is one of the cumbersome tasks since it affects the performance of your website. In case of online photos, size is of great importance. Generally, users prefer small size images since it takes less time to load even with moderate internet connections. If the image is too ... Read More

HTML5 input type range for vertical orientation possible in Firefox?

Riya Kumari

Riya Kumari

Updated on 13-Oct-2022 07:36:11

In a thermometer, as the temperature increases, the mercury in it rises up too. Vice versa is the case for lowering the temperature. Similarly, if you want to create such effect on a webpage, it is done by the range type of input element in HTML5. This is known as ... Read More

HTML5 date field and placeholder text in Safari

Riya Kumari

Riya Kumari

Updated on 13-Oct-2022 07:33:17

If you want to add a date picker which includes the year, month and day, in your webpage, then HTML5 facilitates a “date” field for you. It is a type in element. It works well in various web browsers like Google chrome, Internet Explorer and Firefox. Here we are ... Read More

HTML5 Canvas fit to window

Riya Kumari

Riya Kumari

Updated on 12-Oct-2022 14:29:12

When you view a webpage containing canvas in different screens like that of mobile, pc, desktop or tablet, the size of the screen changes each time. So, it is necessary that the canvas resizes itself according to the screen for better user experience. In this article, we will learn how ... Read More

How to handle errors in HTML5 Web Workers?

Riya Kumari

Riya Kumari

Updated on 12-Oct-2022 14:11:36

Suppose you want the browser to do complex calculations on web page on clicking a word. This will take time. So, the web page will become unresponsive until the operation is completed. You need something which will do the required operation silently without affecting the user interface. So, how to ... Read More

Internet Explorer 8 will not modify HTML5 tags in print stylesheet

Riya Kumari

Riya Kumari

Updated on 12-Oct-2022 14:04:07

While doing a print style sheet, you need various HTML5 tags like , , , etc., which are used for different layout options to your web page which is to be printed. Chrome, Firefox and Internet Explorer9 enables the users to use such HTML5 tags in their browsers. However, ... Read More

Fractional font sizes for HTML5 Canvas?

Riya Kumari

Riya Kumari

Updated on 12-Oct-2022 13:24:15

HTML5 canvas API enables the developers to write text on an HTML page in the different ways such as in a canvas. Different browsers provide various kinds of font sizes on the HTML5 canvas specially when the font sizes are floating numbers like 2.456 px, 3.4 px etc. So, how ... Read More

Crop Canvas / Export HTML5 Canvas with certain width and height

Riya Kumari

Riya Kumari

Updated on 12-Oct-2022 13:20:05

HTML5 canvas allows the users to draw or create 2D graphics in any web page. Suppose you want to crop a part of the canvas created on the web page and export it to any other area of the web page, then you can do it using javascript. For example, ... Read More

Can I play the same sound more than once at the same time with HTML5?

Riya Kumari

Riya Kumari

Updated on 12-Oct-2022 13:08:45

Suppose you want to make a quiz app. In it, if you click the wrong option, an audio will be played in the background saying “wrong answer”. But if you click two or more options simultaneously which are wrong, you won’t be able to hear the sound as many times ... Read More

1
Advertisements