저는 HTML/CSS/JavaScript를 처음 사용하며 현재 테이블 내 텍스트로 고민 중입니다.HTML 표 텍스트 차이 (굵게/굵게 표시되지 않음)
특히, 내 열 헤더 및 테이블 셀 내에서 굵은 글씨로 사용하는 "하위 레이블"을 사용하면 나머지 텍스트 ("기본"텍스트)를 굵게 표시하지 않는 것이 좋습니다. 이것을 어떻게 성취합니까?
여기에 설명이 포함 된 샘플 HTML이 있습니다. 모든 텍스트는 그대로 내가 코드를 떠날 경우 굵은 나오는 :
<table align="center" style="width: 90%;">
<tbody>
<tr><th style="background-color: #032046;" width="45%">
<p style="font-family: helvetica; color: white; font-size: 11;">Column Label 1</p>
</th><th style="background-color: #032046;" width="15%">
<p style="font-family: helvetica; color: white; font-size: 11;">Column Label 2</p>
</th><th style="background-color: #032046;" width="15%">
<p style="font-family: helvetica; color: white; font-size: 11;">Column Label 3</p>
</th></tr>
<tr><th border="0" style="background-color: #d4e6fd;">
<p style="font-family: helvetica; font-size: 11;"><strong><span style="text-decoration: underline;">Sublabel here.</span></strong></p>
<p align="left" style="font-family: helvetica; font-size: 11;">"Basic" text here.</p>
</th><th border="0" style="background-color: #d4e6fd;">
<p align="center" style="font-family: helvetica; font-size: 11;">"Basic" text here.</p>
</th><th border="0" style="background-color: #d4e6fd;">
<p align="center" style="font-family: helvetica; font-size: 11;">"Basic" text here.</p>
</th></tr>
</tbody>
</table>
th 번째 필수 'thead'의 첫 행에 있어야합니다 .... 대신에 기본 텍스트는'td' 태그를 사용합니다 – DaniP