Karthikeya Boyini has Published 2193 Articles

Cross-origin data in HTML5 Canvas

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 06:39:27

412 Views

For cross-origin data in canvas, add the following attribute to the

How can I use Web Workers in HTML5?

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 06:33:56

178 Views

Web Workers allow for long-running scripts that are not interrupted by scripts that respond to clicks or other user interactions and allows long tasks to be executed without yielding to keep the page responsive.Web Workers are background scripts and they are relatively heavyweight and are not intended to be used ... Read More

Is it possible to validate the size and type of input=file in HTML5?

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 06:26:06

351 Views

Yes, it is possible to validate the size and type of input type = “file”. Use jQuery to get the desired result −                                               ... Read More

Render ASP.NET TextBox as HTML5 Input type “Number”

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 06:07:18

1K+ Views

To render ASP.NET TextBox as HTML5 input type “Number”, set type="number" directly on the textbox.Let us see an example of ASP.NET TextBox −You can also use the following dynamically created the control −TextBox tb = new TextBox(); tb.Attributes.Add("Type", "number");

How to change date time format in HTML5?

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 13:53:24

3K+ Views

The date-time format can be changed by using custom HTML5 elements. If we wish to change or override existing Html tags then we can do so with the help of shadow DOM.We can make customizable tags like −Here is an example −However, E10 and older versions do not support customizable ... Read More

Apple Touch icon for websites in HTML

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 13:48:22

2K+ Views

For web page icon on iPhone or iPad, use the Apple Touch Icon or apple-touch-icon.png file. This icon is used when someone adds your web page as a bookmark.For multiple icons with different device resolutions like iPhone or iPad, add sizes attribute to each link element as follows −Set size ... Read More

Converting video to HTML5 ogg / ogv and mpg4

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 13:40:14

391 Views

To convert video to ogg or mpg4, you need to use third-party software like Free HTML5 Video Player And ConverterAfter that, launch it and select input video files. Add files in any of the following formats −*.avi; *.ivf; *.div; *.divx; *.mpg; *.mpeg; *.mpe; *.mp4; *.m4v; *.webm; *.wmv; *.asf; *.mov; *.qt; ... Read More

ispunct() in C

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:28:00

138 Views

The function ispunct() is used to check that the passing character is a punctuation or not. It returns zero, if it is not a punctuation, otherwise it returns a non-zero value.Here is the syntax of ispunct() in C language, int ispunct(int character);Here is an example of ispunct() in C language, ... Read More

CHAR_BIT in C++

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:21:26

872 Views

The CHAR_BIT is the number of bits in char. It is declared in “limits.h” header file in C++ language. It is of 8-bits per byte.Here is an example of CHAR_BIT in C++ language, Example Live Demo#include using namespace std; int main() {    int x = 28;    int a ... Read More

Ceil and floor functions in C++

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:19:37

5K+ Views

The ceil FunctionThe ceil function returns the smallest possible integer value which is equal to the value or greater than that. This function is declared in “cmath” header file in C++ language. It takes single value whoes ceil value is to be calculated. The datatype of variable should be double/float/long ... Read More

Advertisements