New answers tagged

-1

Since 2018, it is perfectly valid to create your own Web Component to implement this: <highlight-sentence>Lorem ipsum</highlight-sentence>


0

I think separation of concerns in the case of external css is more related to separating styling from defining content. Writing the <div> and <li> is about defining content, the css is about how it is represented. Although in html these things are pretty related actually. Besides the separation of concerns I also think it is easier to read. ...


Top 50 recent answers are included