Hi all!
If anyone has a little time and energy and wants to take a look at my assessment, you guys are welcome.
I think it is correct but any help is always welcome
These are my links:
Thanks in advance and have a nice day!
Hi all!
If anyone has a little time and energy and wants to take a look at my assessment, you guys are welcome.
I think it is correct but any help is always welcome
These are my links:
Thanks in advance and have a nice day!
Welcome back @Gabriel_ML
Itβs nice to see you progressing through the assessments.
Very well done on this one. Congratulations!
Was there any specific issue that you used
inside the empty cells? I think you can just leave the tags empty like <td></td>
.
Good luck in your further assessments!
Michael
Hi @mikoMK
Thanks++
for your comments!
Answering your question:
It was because I saw it in the source code of Adding headers with <th>
elements
But although this answer is true
, it may not be correct
, so I have done a little search
and this may be some possible answers β¦
βThe non-breaking space
is an entity in HTML that has non-collapsing behaviorβ
From Wikipedia
βNotice that empty table cells are filled with the entity
. If this is omitted, the cell borders will not always display correctly.β
From (X)HTML Tutorial
βAnother common use of the non-breaking space is to prevent browsers from truncating spaces in HTML pages.β
From w3schools
And finally I made a little testβ¦
https://jsfiddle.net/Gabriel_ML/gt9hb1nv/4/
I think these may be the reasons to use
or maybe not
Have a nice day!
Thanks for digging deeper, @Gabriel_ML
So in conclusion we could say: If we have a table row without any data and want it not to collapse, we need at least one cell with a non-breaking space (
).
Learned something today
All the best!
Michael