Why are we using border attribute in HTML5 in the CV Project ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why are we using border attribute in HTML5 in the CV Project ?

> The border attribute is not supported in HTML5 So why are we using it in HTML5 in the CV Project ? ( Location : HTML course/HTML basics module/Lesson 15.1 Tables, and the CV Project in HTML course's Code Repo )

13th Aug 2022, 5:14 AM
Rinzona
3 Answers
+ 2
"This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes." https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
13th Aug 2022, 6:45 AM
Lisa
Lisa - avatar
+ 1
It was supported in pervious version of html. If you test the code, you'll find that browsers stills display bordes like the. As this course is teaching html and not css, I suppose they want to demonstrate border without css.
13th Aug 2022, 6:12 AM
Lisa
Lisa - avatar
0
I’ve taken a test on Code Playground. https://code.sololearn.com/W0HDOSvCuyLs/?ref=app And it’s supported. Then I’ve checked on my browser, it’s supported. I wonder if that note in lesson table implies something ?
13th Aug 2022, 6:40 AM
Rinzona