diff --git a/CHANGELOG.md b/CHANGELOG.md
index 57071b04fafa..91c35b77a4f4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -101,7 +101,7 @@ To migrate the code follow the examples below:
BEFORE:
-```
+```js
/* 1 */
elem.data('my-key', 2);
elem.data('myKey', 3);
@@ -119,7 +119,7 @@ elem.data('foo-bar'); // 1
AFTER:
-```
+```js
/* 1 */
// Rename one of the keys as they would now map to the same data slot.
elem.data('my-key', 2);
@@ -152,7 +152,7 @@ Before:
HTML:
-```
+```html
// All five versions used to be equivalent.
@@ -163,7 +163,7 @@ HTML:
JS:
-```
+```js
// All five versions used to be equivalent.
elem.css('background_color', 'blue');
elem.css('background:color', 'blue');
@@ -183,7 +183,7 @@ After:
HTML:
-```
+```html
// Previous five versions are no longer equivalent but these two still are.
@@ -191,7 +191,7 @@ HTML:
JS:
-```
+```js
// Previous five versions are no longer equivalent but these two still are.
elem.css('background-color', 'blue');
elem.css('backgroundColor', 'blue');
@@ -212,19 +212,19 @@ To migrate the code follow the example below:
Before:
-```
+```js
elem.attr(booleanAttrName, '');
```
After:
-```
+```js
elem.attr(booleanAttrName, false);
```
or:
-```
+```js
elem.attr(booleanAttrName, null);
```
@@ -238,13 +238,13 @@ To migrate the code follow the example below:
Before:
-```
+```js
elem.attr(attributeName, null);
```
After:
-```
+```js
elem.attr(attributeName, "null");
```
@@ -260,7 +260,7 @@ Before:
HTML:
-```
+```html