![What's the point of setting the id of an element rather than changing its inline style attribute? - HTML-CSS - The freeCodeCamp Forum What's the point of setting the id of an element rather than changing its inline style attribute? - HTML-CSS - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/3X/4/3/4348668ce5b01848b69f6dc1113781ad4d8493f2.jpeg)
What's the point of setting the id of an element rather than changing its inline style attribute? - HTML-CSS - The freeCodeCamp Forum
Is there a functional difference between ID and class selectors in HTML and CSS other than the ID selector taking precedence when in conflict with a class selector? - Quora
![code completion not working for IDs in DIV. Works fine in SPAN, LI, etc – IDEs Support (IntelliJ Platform) | JetBrains code completion not working for IDs in DIV. Works fine in SPAN, LI, etc – IDEs Support (IntelliJ Platform) | JetBrains](http://adm-10980.intellij.net/zendesk-forum-storage/jc/5492446/divtest.png)