font

English [f?nt] American [fɑ:nt]

n. ??; ???(?? ?? ????)(??? ?? ? ??) ??

: ??

variant

英[?ve?ri?nt] US[?veri?nt]

n. (?? ?) ??, (?? ??) ?? [生] ??, ??; ] ??

adj. ???, ???, ????

???: ??

?????? ??Variant ?? ???

??: ???? ??? ?? ???? ?? ??

??: ??Object.style.fontVariant=normal|small-caps

?????? ??Variant ?? ?

<html>
<head>
<script type="text/javascript">
function setSmallCaps()
{
document.getElementById("p1").style.fontVariant="small-caps";
}
</script>
</head>
<body>

<p id="p1">This is an example paragraph.</p>
<p>This is another example paragraph.</p>

<input type="button" onclick="setSmallCaps()" 
value="Display small-caps font" />

</body>
</html>

???? ?? ?

??? ????? ??? "???? ??" ??? ?????