You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
2
2
## HTML5 Interview Questions and Answers
3
3
4
-
*Click <imgsrc="https://github.com/learning-zone/html-interview-questions/blob/master/assets/star.png"width="18"height="18"align="absmiddle"title="Star" /> if you like the project. Pull Request are highly appreciated.*
4
+
*Click <imgsrc="assets/star.png"width="18"height="18"align="absmiddle"title="Star" /> if you like the project. Pull Request are highly appreciated.*
5
5
6
6
### Table of Contents
7
7
@@ -66,7 +66,7 @@ There are five new form elements in the HTML5 forms specification: `<datalist>`,
**4.) Progress Tag**: indicates how much of a task has been completed (often marked as a percentage). It is expected to be modified through JavaScript code.
98
98
```html
@@ -117,7 +117,7 @@ value: If you don’t specify a value, the first numeric value inside the `<mete
**5.) Keygen Tag**: The `<keygen>` element generates an encryption key for passing encrypted data to a server. When an HTML form is submitted, the browser will generate a key pair and store the private key in the browser's local key storage and send the public key to the server.
123
123
```html
@@ -130,7 +130,7 @@ value: If you don’t specify a value, the first numeric value inside the `<mete
130
130
131
131
*Note: This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time.*
**2.) Canvas**: Canvas is a HTML element is used to draw graphics on a web page. It is a bitmap with an “immediate mode” graphics application programming interface (API) for drawing on it. The <canvas> element is only a container for graphics. In order to draw the graphics, you are supposed to use a script. Canvas has several strategies when it comes to drawing paths, boxes, circles, text & adding images.
#### Q. ***Why to use IndexedDB instead of WebSQL in HTML5?***
914
915
**1.) WebSQL** is an API that is only supported in Chrome and Safari (and Android and iOS by extension). It provides an asynchronous, transactional interface to SQLite. Since 2010, it has been deprecated in favor of IndexedDB.
*Note: Using the application caching feature described here is at this point highly discouraged; it’s in the process of being removed from the Web platform. Use **Service Workers** instead. In fact as of Firefox 44, when AppCache is used to provide offline support for a page a warning message is now displayed in the console advising developers to use Service workers instead (bug 1204581).*
0 commit comments