Wpis z mikrobloga

Miraski czemu niby id moze byc uzyte tylko do jednego elementu skoro dziala na wielu?

#html

https://www.w3schools.com/html/tryit.asp?filename=tryhtml_id_class
https://www.educative.io/answers/class-and-id-selectors-in-css

"The difference between an ID and a class is that an ID is only used to identify one single element in our HTML. IDs are only used when one element on the page should have a particular style applied to it. However, a class can be used to identify more than one HTML element."
TurboBlejzer - Miraski czemu niby id moze byc uzyte tylko do jednego elementu skoro d...

źródło: comment_1661530835LsrAlLqWn3KC0jV5rYDmiW.jpg

Pobierz
  • 2