<head>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th {
font-family: arial;
font-weight: normal;
}
</style>
</head>
<body>
<table width="200" height="300">
<tr style="font-weight: bold">
<th>Year</th>
<th>Balance</th>
<th>Interest</th>
</tr>
</table>
</body>
특정 클래스를 제외한 모든 것을 CSS 대상으로 만들 수있는 방법이 있습니까? 특정 클래스를 제외하고 모든 th 태그를 대상으로 지정하고 싶습니다. :not
확실히 하나 개의 대안으로 사용 https://developer.mozilla.org/en/docs/Web/CSS/:not특정 클래스를 제외한 모든 것을 대상으로 지정하십시오.