Skip to content

Commit 6fb1da9

Browse files
committed
Update README.md
1 parent 8a2fb55 commit 6fb1da9

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
## HTML5 Interview Questions and Answers
33

4-
*Click <img src="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 <img src="assets/star.png" width="18" height="18" align="absmiddle" title="Star" /> if you like the project. Pull Request are highly appreciated.*
55

66
### Table of Contents
77

@@ -66,7 +66,7 @@ There are five new form elements in the HTML5 forms specification: `<datalist>`,
6666
<option value="Safari">
6767
</datalist>
6868
```
69-
[Live Example](https://learning-zone.github.io/html-interview-questions/html5-semantic-tags/datalist.html)
69+
[Live Example](html5-semantic-tags/datalist.html)
7070

7171
**2.) Meter Tag**: indicates a numeric value that falls within a range. The tag supports a number of attributes:
7272
value: If you don’t specify a value, the first numeric value inside the `<meter></meter>` pair becomes the value.
@@ -82,7 +82,7 @@ value: If you don’t specify a value, the first numeric value inside the `<mete
8282

8383
<p>Pollution Level: <meter low="60" high="80" max="100" value="85">Very High</meter></p>
8484
```
85-
[Live Example](https://learning-zone.github.io/html-interview-questions/html5-semantic-tags/meter.html)
85+
[Live Example](html5-semantic-tags/meter.html)
8686

8787
**3.) Output Tag**: is meant to display text output. It indicates a section of the page that can be modified by a script (usually JavaScript).
8888
```html
@@ -92,7 +92,7 @@ value: If you don’t specify a value, the first numeric value inside the `<mete
9292
<output name="result" for="a b"></output>
9393
</form>
9494
```
95-
[Live Example](https://learning-zone.github.io/html-interview-questions/html5-semantic-tags/output.html)
95+
[Live Example](html5-semantic-tags/output.html)
9696

9797
**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.
9898
```html
@@ -117,7 +117,7 @@ value: If you don’t specify a value, the first numeric value inside the `<mete
117117
countNumbers();
118118
</script>
119119
```
120-
[Live Example](https://learning-zone.github.io/html-interview-questions/html5-semantic-tags/progress.html)
120+
[Live Example](html5-semantic-tags/progress.html)
121121

122122
**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.
123123
```html
@@ -130,7 +130,7 @@ value: If you don’t specify a value, the first numeric value inside the `<mete
130130

131131
*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.*
132132

133-
[Live Example](https://learning-zone.github.io/html-interview-questions/html5-semantic-tags/)
133+
[Live Example](html5-semantic-tags/)
134134

135135
#### Q. ***What is the DOM? How does the DOM work?***
136136

@@ -152,7 +152,8 @@ In order to render content the browser has to go through a series of steps:
152152
* Layout
153153
* Paint
154154

155-
![Browser Rendering Engine](https://github.com/learning-zone/html-interview-questions/blob/master/assets/layers.png)
155+
<img src="assets/layers.png" alt="Browser Rendering Engine" />
156+
156157
<div align="right">
157158
<b><a href="#">↥ back to top</a></b>
158159
</div>
@@ -641,7 +642,7 @@ Cross-Origin Resource Sharing (CORS) is a W3C spec that allows cross-domain comm
641642
|strokeText()|Draws text on the canvas (no fill) |
642643
|measureText()|Returns an object that contains the width of the specified text |
643644

644-
[Live Example](https://learning-zone.github.io/html-interview-questions/canvas.html)
645+
[Live Example](canvas.html)
645646

646647
<div align="right">
647648
<b><a href="#">↥ back to top</a></b>
@@ -828,7 +829,7 @@ Example:
828829
</body>
829830
</html>
830831
```
831-
[Live Example](https://learning-zone.github.io/d3js-interview-questions/a.svg.html)
832+
[Live Example](a.svg.html)
832833

833834
**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.
834835

@@ -850,7 +851,7 @@ Example:
850851
</body>
851852
</html>
852853
```
853-
[Live Example](https://learning-zone.github.io/html-interview-questions/canvas.html)
854+
[Live Example](canvas.html)
854855

855856
**Differences between SVG and Canvas**
856857

@@ -908,7 +909,7 @@ Example
908909
</html>
909910
```
910911

911-
[Live Example](https://learning-zone.github.io/html-interview-questions/drag-drop.html)
912+
[Live Example](drag-drop.html)
912913

913914
#### Q. ***Why to use IndexedDB instead of WebSQL in HTML5?***
914915
**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.
@@ -958,7 +959,7 @@ Syntax:
958959
...
959960
</html>
960961
```
961-
[Live Example](https://learning-zone.github.io/html-interview-questions/application-cache.html)
962+
[Live Example](application-cache.html)
962963

963964
*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).*
964965

0 commit comments

Comments
 (0)