I recently noticed that
<marquee> has been deprecated from html according to this site. From this answer on Stack Overflow, the marquee replacement is made from CSS. The explanation given to the change is that html is about document structure, and that layout and animation and styling etc. should be done from CSS.
This got me thinking:
Would explicitly teaching the difference between setting the
style attribute of an
html tag, and doing it through CSS useful for increasing the students' understanding of the joining of CSS and HTML?
To narrow it down, I'm looking for examples or explanations of how teaching it explicitly might make it easier for the students to style their webpages. Preferably an explanation.
By "explicitly teaching" what I mean is actually devoting a lesson with the title of "Styling through .CSS", or something similar.
Some context, if it is needed: