+ 1

Class Tag

in HTML they put <table class=“auto”> And in CSS they put table.auto { Why is it like “table.auto”, isn’t the class only called “auto”? or they have tu specify that it is in a table or something like that

22nd Jan 2018, 4:30 AM
SoniiSab
SoniiSab - avatar
1 ответ
+ 7
table.auto means all children of tables with the class "auto" and .auto means all elements with the class "auto"
22nd Jan 2018, 4:34 AM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar