Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
HTML5 Articles
Page 7 of 11
How to create a rainbow using HTML5
Overview The task is to create a beautiful rainbow using the HTML5 version. The rainbow consists of the seven colors, these seven colors are Violet, Indigo, Blue, Green, Yellow, Orange and Red. These colors are arranged in the bottom-up approach. So to achieve this task we will use the Scalable Vector Graphics tag which helps us to create the graphics shape inside a HTML page. Inside the svg element we have several elements by which we can draw the shape. These tags are: rect, circle, ellipse, line, polyline, polygon and path. Syntax The syntax used to create the ...
Read MoreHow to create nofollow link using HTML5
Overview In simple language, a “nofollow” link is a link which tells the google search engine to not to follow the particular link. As when it comes to the search engine optimization of the page, time the links play a vital role in the ranking of the page. In the HTML5 we can make any link a nofollow link by assigning the nofollow attribute to the anchor tag. Syntax The basic syntax used to create any link a nofollow link is −
Read MoreHow to create a multiline input control text area in HTML5
Overview The text area is an HTML tag which is used to write a multiline text in it. So to control the multiline text inside the text area can be achieved with the help of some predefined HTML attribute. These HTML attributes are maxlength, minlength, rows, column and readonly. By using these attributes we can control the text inside the text area. Syntax The syntax to create a text area in the HTML is − Algorithm Step 1 − Create a HTML boilerplate in your text editor. Step 2 − Add the text area tag to the body ...
Read MoreHow to create a link with media attribute in HTML5
Overview There are many types of attributes in HTML5, these attributes provide additional functionality to the page. The media attribute is used with the link tag which has different values which are used in different states. These values are: print, all, screen, speech. The ‘print’ value is used with the link tag to provide the print preview of the page. If we want to change style on printing the page then we can use this print value with the media attribute. Sometimes there are some styling for which we had to come up with the same styles for all types ...
Read MoreHow to create a header cell in a table using HTML5
Overview A cell in a table is a convergence of two things, a row and a column. The header is the top row of the table whose columns contain a category name of what category the data will be in below cells. So as in this problem we are going to create a cell for header of a table, so for header cell the convergence of the table row that is “” and convergence of table header column that is “” will create a header cell for a table in HTML5. Syntax The syntax to create header cell in ...
Read MoreHow to add caption for the parent content in HTML5?
It might not come to your surprise that web designers of today are continually exploring innovative ways to enhance the user engagement and interaction on their sites, thereby creating a lasting impact on the users. An effective way to achieve this is by incorporating captions for the multimedia present on their webpages. By including captions for the images, videos, and other visual aids, the web developer can offer additional context and essential details to the users, facilitating better accessibility to the website content, particularly for users who might have difficulties comprehending the visual information. Syntax ...
Read MoreHow to speed up/down the video in Video.js Player?
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 MoreVideo.js Player Method / Options References
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 MoreHow to setup different video quality in Video.js player?
In this tutorial, we're going to understand how to set up different video quality in video.js player. Setting up a different video quality means our video player, created using video.js, is going to have multiple resolutions of the same video and the end user can switch the resolution basis as per their liking or their bandwidth. However, video.js doesn't support this feature natively out of the box, which means we'll have to use a plugin (as video.js has a wide range of plugins and support) to set multiple video resolutions for our video player. The video.js plugin that we're going ...
Read MoreHow to play YouTube videos using Video.js player?
In this tutorial, we're going to learn the procedure to play YouTube videos using the video.js player. Video.js is a very popular modern web video player which supports all the latest video formats including YouTube, Vimeo, etc. Now, we'll see how the video.js library can be used for playing YouTube videos using the 'videojs-youtube' package. For playing YouTube videos in the video.js player we need to install a package 'videojs-youtube' in our project. Installation of the package is very easy and can be done using bower or node package manager. Installing video.js YouTube Use the following command for installation of ...
Read More