<link href="assets/theme.css" id="this" rel="stylesheet" />
What does id=”this” target and how does this work in a href link to a stylesheet?
From a tutorial i downloaded legally i couldnt find any reference to the html or javascript. is it syntax from a CMS?
It does not target anything; it just assigns a unique identifier to the element – that’s what the
idattribute does. It does not have any default effect on anything. It could be used in JavaScript to make it easy to refer to the element, withdocument.getElementById('this'). If it not used in any way in the document, it can be assumed to be there for possible future use. It might also have been added by some software (CMS or other) that generates the page and routinely addsidattributes to elements.