Skip to content

Commit c0070c6

Browse files
committed
Update README.md
1 parent 11257a2 commit c0070c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,8 @@ Cross-Origin Resource Sharing (CORS) is a W3C spec that allows cross-domain comm
564564
* The HTML5 data attribute lets you assign custom data to an element. When we want to store more information/data about the element when no suitable HTML5 element or attribute exists
565565

566566
#### Q. ***Explain the difference between layout, painting and compositing?***
567-
![alt text](https://github.com/learning-zone/HTML/blob/master/lib/img/frame-full.jpg)
567+
568+
<img src="lib/img/frame-full.jpg" alt="Browser Engine" />
568569

569570
* **JavaScript**: Typically JavaScript is used to handle work that will result in visual changes, whether it’s jQuery’s animate function, sorting a data set, or adding DOM elements to the page. It doesn’t have to be JavaScript that triggers a visual change, though: CSS Animations, Transitions, and the Web Animations API are also commonly used.
570571
* **Style calculations**: This is the process of figuring out which CSS rules apply to which elements based on matching selectors, for example, .headline or .nav > .nav__item. From there, once rules are known, they are applied and the final styles for each element are calculated.

0 commit comments

Comments
 (0)