App下載
首頁(yè)htmlh1_6HTML Element Style - 如何使標(biāo)題文本大寫(xiě)字母大寫(xiě)

HTML Element Style - 如何使標(biāo)題文本大寫(xiě)字母大寫(xiě)

我們想知道如何使標(biāo)題文本大寫(xiě)字母大寫(xiě)。

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
h2 {
  text-transform: lowercase;
}

h2:first-letter {
  text-transform: capitalize;
}
</style>
</head>
<body>
  <h2>are there OTHER USES for this medicine?</h2>
</body>
</html>