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: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,9 @@ Types of change:
72
72
73
73
## December 30th 2021
74
74
75
+
### Fixed
76
+
-[HTML - The Caption Element - Add minor info when to use strong, b and font-weight property to avoid confusion](https://github.com/enkidevs/curriculum/pull/2972)
77
+
75
78
### Changed
76
79
-[SQL - Join Role - Change table example](https://github.com/enkidevs/curriculum/pull/2973)
@@ -31,16 +34,16 @@ The HTML `<caption>`, or the **Table Caption** element is used to specify a titl
31
34
32
35
Adding a clear and concise description of the table's content within the `<caption>` element is useful for helping people decide if they want to read the table or skip over it.
33
36
34
-
When used, `<caption>` element must to be the **first** element within the `<table>` element to be valid, although using CSS it can be moved accordingly. The property `caption-side` can be set to `bottom` to quickly move the caption to the bottom of the table even with it added to the top of the table.
37
+
When used, the `<caption>` element must be the **first** element within the `<table>` element to be valid, although using CSS, it can be moved accordingly. The property `caption-side` can be set to `bottom` to quickly move the caption to the bottom of the table even with it is added to the top of the table.
35
38
36
39
Example:
37
40
38
41
```html
39
42
<table>
40
43
<caption>Employee List</caption>
41
44
<tr>
42
-
<td><strong>Name</strong></td>
43
-
<td><strong>Start Date</strong></td>
45
+
<td><b>Name</b></td>
46
+
<td><b>Start Date</b></td>
44
47
</tr>
45
48
<tr>
46
49
<td>Jimmy</td>
@@ -52,7 +55,13 @@ Example:
52
55
</table>
53
56
```
54
57
55
-
> 💡 In the example above, the `<strong>` element is used to bring importance to the "Name" and "Starting Date" tags. However, it can be replaced with the `style="font-weight:bold;"` CSS property.
58
+
In the example above, the `<b>` element is used to bring attention to the "Name" and "Starting Date" tags.
59
+
60
+
If you'd like to only style the elements bold without bringing attention to them, you can apply the `style="font-weight:bold;"` CSS property:
0 commit comments