
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 129 Articles for HTML5

377 Views
Despite being familiar with the phrase cache, you may not fully understand what it means in the context of the Web. Caching, as used in everyday speech, is the act of storing something in the event that it subsequently proves beneficial. Bulk or main storage can't keep up with client needs, thus cache is used. Cache minimizes latency, speeds up input/output (I/O) activities, and decreases data access times. Let’s look into further for getting better understanding of HTML5 application cache vs browser cache. HTML5 Application Cache A web application is cached and available without an internet connection with the help ... Read More

219 Views
In this article, we will discuss about the background attribute and how it is deprecated in HTML5. What is Background Attribute? In HTML, the “background” can be used as an attribute with an HTML element (such as div, table, body etc.). We can specify an image to set background of the webpage etc. The most frequently used image formats are PNG, JPEG, and GIF. Syntax Following is the syntax of background attribute with an HTML element − This attribute is DEPRECATED in HTML5 and we are recommended not to use this. Instead, in HTML5, the preferred way ... Read More

2K+ Views
We can create a 3D cube using the element and JavaScript in HTML5. The following document defines a canvas element with a width and height of 400 pixels, and uses JavaScript to get the canvas context to draw on the canvas. The cube is drawn using three separate faces: the front face, the top face, and the right face. This element is helpful in rendering 2D and 3D graphics in web browsers. Another alternate method to create a 3D cube is by using CSS 3D transitions, which allows us to create and animate the 3D cube, and WebGL which ... Read More

704 Views
An Accordion is a collapsible UI component which is used to make the web pages more visually appealing. The Accordion has some sections and child sections which represent the collapsible sections. In this each element has a header which when clicked shows another section which has some more details about the header. This also allows only one header to be open at a time. Some Useful Methods used for enabling accordian Destroy: This is used to destroy the accordion. Disable: This is used to disable the accordion. Enable: This is used to enable an accordion. Some useful Events ... Read More

243 Views
Text may be emphasized in documents using a variety of HTML5 features and may aid in highlighting crucial information and make it simpler for readers to recognize vital elements right away. A frequently followed technique to emphasize a text is to make the text bold. Different tags are used in HTML like − , , etc to emphasize text, superscript text, add chemical formulations, and mathematical formulas. Syntax bold italic underline Example In this example, we will examine the different types of techniques to emphasize a text in an HTML5 document, such as &minus b> tag ... Read More

460 Views
Script tag is used to make the webpage dynamic, however heavy scripts can result in slow rendering of the webpage which ultimately results in poor user experience. To solve this issue, we asynchronously execute the scripts in the webpage i.e. the javascript is downloaded in parallel with other website elements and starts to execute as soon as it is completed. To load scripts asynchronously two popular approaches used are: Async attribute: The scripts are downloaded in parallel and start to execute as soon as downloading is complete. Defer attribute: The scripts are downloaded in parallel and only starts to ... Read More

3K+ Views
HTML tables are commonly used to present data in a structured manner. Tables consist of rows and columns where each row represents a record and each column represents a field in that record. In some cases, you may want to group the content in the body of the table, such as when you have multiple data points that belong together. In this blog post, we will explore different methods to group body content in HTML tables. Method 1: Using the Element The simplest way to group body content in an HTML table is to use the element. The ... Read More

2K+ Views
When displaying data in an HTML table, it is often useful to group the header content of the table to provide more context to the data being displayed. Grouping header content can make it easier for users to understand the relationships between the data and to identify patterns or trends. In this article, we'll discuss several methods for grouping header content in an HTML table using HTML5. Method 1: Using the and Elements The most straightforward way to group header content in an HTML table is to use the and elements. The element is used ... Read More

540 Views
The HTML (navigation section element) represents a section of a page that holds navigation links either within the current document or to other external documents. This tag is commonly used for navigation between sections of the HTML document, table of contents, and indexes. Now, we will discuss both scenarios i.e. navigation between the sections of the same HTML document and navigating to external documents with suitable examples further in this article. Example In the following example, we are specifying navigation links (using tags) to some sections in the same HTML document. nav ... Read More

17K+ Views
The HTML tag specifies an inline frame (container). This inline frame is used to embed another document within the current HTML document. The "srcdoc" attribute of the tag is used to specify the HTML content of the page to be displayed in the . HTML Tag The alternative tag to iframe in HTML is tag. It is similar to the iframe tag which defines a container for external resources such as a picture, a webpage, a media player, or a plug-in application. Following are the attributes of the HTML tag − height − ... Read More