Found 128 Articles for HTML5

How to define a key-pair generator field in HTML5?

Diksha Patro
Updated on 24-Mar-2023 14:58:29

183 Views

A key-pair generator field is a form of the input field in HTML5 that enables users to create a public and private key combination for encryption. This field is helpful in circumstances requiring secure correspondence, such as online banking or e-commerce platforms. Users can generate a unique combination of keys that can be used to encrypt and decrypt private information, guaranteeing the security and integrity of their interactions, by using a key-pair generator field. In HTML5, the "input" element with the "type" attribute set to "keygen" can be used to create a key-pair generator field. The "name" attribute is used ... Read More

How to define a drop-down list in HTML5?

Diksha Patro
Updated on 24-Mar-2023 14:56:27

554 Views

A drop-down list in HTML5, allows website users to select one of several predefined alternatives. This type of input field is typically used in forms when users are given a number of alternatives from which to pick. Creating a drop-down list in HTML5 is a simple procedure that requires the use of the choose and option components. The drop-down list is defined by the choose element, and the available alternatives are specified by the option elements. Web developers may use this markup to construct customizable and interactive forms that make it easier for visitors to enter data on a website. ... Read More

How to define a caption for a fieldset element in HTML5

Diksha Patro
Updated on 24-Mar-2023 14:54:44

731 Views

When developing HTML forms, it is critical to offer users clear and simple information about the purpose of the form and the data being gathered. One method is to add a caption or heading to a fieldset element, which is a collection of linked form components. The caption or header gives context and information about the form components contained inside the field set, allowing users to understand what information is being asked and how to appropriately fill out the form. Approaches There are several ways to add captions to a fieldset element in HTML. Here are several possibilities − ... Read More

How to define a form for user input using HTML5?

Shabaz Alam
Updated on 16-Mar-2023 14:45:04

180 Views

HTML5 provides us with a powerful set of tools to create dynamic and interactive web pages. One of the important components of a web page is the ability to collect user input. In this article, we will learn how to define a form for user input using HTML5 in simple and unique words. Basic Form Element Structure A form is defined using the tag. The tag creates a container for input fields like text boxes, radio buttons, and checkboxes. Syntax A basic form structure looks like this − The action attribute ... Read More

How to speed up/down the video in Video.js Player?

Prince Yadav
Updated on 04-Apr-2023 14:02:19

921 Views

In this tutorial, we're going to learn how to speed up a video or speed down a video using video.js. Video.js is a widespread and open-source HTML5 video player framework. It allows video playback on a variety of platforms with varying screen sizes, such as desktop computers and mobile devices. The project, which began in the middle of 2010, already has hundreds of contributors and is utilized on over 450, 000 websites. Apart from this, Video.js also gives a variety of options for changing and customizing the video players to your preference. For the purpose of this tutorial, we're going ... Read More

How to set up different languages in Video.js player?

Prince Yadav
Updated on 08-Dec-2022 06:59:38

1K+ Views

In this tutorial, we'll learn how to set up different languages for our video player created using the video.js library. Video.js is a very popular JavaScript package used to build web browser video players for a number of video formats. It supports all modern video formats, including YouTube, Vimeo, and Flash, along with all standard video playback formats, including mp4, WebM, Flv, and others. Video.js also provides a plethora of options to change and customize the video players as per your liking. In this tutorial, we're going to have a look at how to change the language of our video ... Read More

Adding Custom Video.js Control Bar Buttons

Prince Yadav
Updated on 08-Dec-2022 06:44:47

5K+ Views

Video.js is a well-known online video player javascript library that is used for creating video players in the web browser for a variety of video formats. It supports all contemporary video formats such as YouTube, Vimeo, Flash, and others, as well as all common video playback formats such as mp4, WebM, Flv, and others. Apart from supporting a wide range of formats, video.js also provides a lot of functionality and flexibility to customize the video player as desired. In this tutorial, we're going to learn how we can customize the video player using video.js by creating and adding new buttons ... Read More

How to store objects in HTML5 localStorage?

Shubham Vora
Updated on 06-Dec-2022 12:34:00

1K+ Views

In this tutorial, we will discuss how to store objects in HTML5 localStorage. We can access the Storage object and store data in it thanks to the interface window's localStorage property. There is no time limit on it. As a result, the data that is stored in it will remain until it is explicitly deleted. The localStorage data can't be removed by closing the browser. To store JavaScript objects in localStorage, we will investigate how to stringify and parse them into JSON strings and then how to store them in localStorage. Using the setItem() Method This setItem() method is used ... Read More

Why is using onClick() in HTML a bad practice?

Shubham Vora
Updated on 06-Dec-2022 11:35:18

5K+ Views

In this tutorial, we will learn why using onClick() in HTML is a bad practice. There are events and methods in JavaScript to handle the actions like clicking, hovering, etc. The onClick() is the most used method that executes a function on clicking an element. This method is applied to the element as its attribute. It may contain the name of the function or the script itself. JavaScript also contains the addEventListener method used to execute a function on the occurrence of an event. There are many ways to execute events, and every way has advantages and disadvantages. ... Read More

Video.js Player Method / Options References

Prince Yadav
Updated on 04-Apr-2023 13:59:38

736 Views

In this tutorial, we’re going to go through some of the basic options references of video.js. Option References are like settings to control or modify the behavior of a video player. These options can be both − HTML5 options like autoplay, reload, etc., and video-js specific settings. We’re going to have a look at each of these alternatives. Standard HTML5 Element Options Standard HTML5 Element Options are standard settings which work both with tag and tag. With the help of these options, you can change the video player’s height, width, controls, etc. Let’s discuss some of ... Read More

Previous 1 ... 6 7 8 9 10 ... 13 Next
Advertisements