文字サイズの指定

数値で文字サイズを指定

文字サイズ「40pt」の文字

文字サイズ「32pt」の文字



中略


文字サイズ「8pt」の文字

文字サイズ「6pt」の文字


このページのソース
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 10.0.1.0 for Windows">
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<META http-equiv="Content-Style-Type" content="text/css">
<title>スタイルシート覚書</title>
<style type="text/css">
<!--
H1{
font-size:16pt;
color:red;
}
H2{
font-size:24pt;
color:red;
}
DIV {color:blue;}
P {color:blue;}

-->
</style>


</herd>


</HEAD>
<body bgcolor="" text="#000000" link="#0000cc" vlink="#ff00ff" alink="#ff0000">

<
H1 align=center>文字サイズの指定</H1>
<
H2 align=center>数値で文字サイズを指定</H2>
<center>
<DIV style="font-size:40pt">文字サイズ「40pt」の文字</DIV><BR>
<DIV style="font-size:32pt">文字サイズ「32pt」の文字</DIV><BR>
<P>
・<br>
・<br>
中略<BR>
・<br>
・<br>
</P>
<DIV style="font-size:8pt">文字サイズ「8pt」の文字</DIV><BR>
<DIV style="font-size:6pt">文字サイズ「6pt」の文字</DIV>

</center>

<P align="center"><BR>
<A href="css4.htm" target="_self"><IMG src="a_btn061.gif" width="44" height="18" border="0"></A></P>
</body>
</html>