OK, I kinda get it, but I’m still confused. Why does setting “id” set the style? The only way I knew how to do this would be to define .box1 and then do a div class=”box1” .. which , I checked, that works too, but I don’t understand the #box1 format with the use of “id”
OK, I kinda get it, but I’m still confused. Why does setting “id” set the style? The only way I knew how to do this would be to define .box1 and then do a div class=”box1” .. which , I checked, that works too, but I don’t understand the #box1 format with the use of “id”