Ok so here's a simple test case
What I was trying is that, if we use attributes to style elements(I know which is a very very bad idea, but I did it for experimentation)
So the question is that is CSS basic element selector styles more specific than HTML attributes?
Kinda CSS - 1 / HTML - 0 <!-- Specificity -->
If CSS not used, HTML - 1 <!-- Specificity -->
Test Case HTML
<table border="1"> <tr> <td>Hello 1</td> <td>Hello 2</td> <td>Hello 3</td> </tr> </table> CSS
table, table td { border: 0; } So overall CSS is specific than HTML for styling? Or is there anything we can override CSS with attributes except the style attribute.