ขนาดตัวอักษรของ css
.class {
font-size: 12px;
}
ขนาดตัวอักษรแบบ html
<span style="font-size:20px;"></span>
ยังไงเพื่อเปลี่ยนขนาดแบบอักษรในแบบ html
<body>
<h1 style="color:red;font-size:40px;">Heading</h1>
<p style="color:blue;font-size:18px;">This is demo text</p>
</body>
css เปลี่ยนข้อความขนาด
p {
font-size: 150% /*px, cm, in, etc.*/;
}
ขนาดตัวอักษรของ css
/* you can set the font size using font-size: and a number followed by px */
.class {
font-size: 60px;
}