font property হলো একটি shorthand property, যা একসাথে অনেক গুলো ফন্ট সম্পর্কিত property (family, size, style, weight, variant, line-height) নির্দিষ্ট করতে ব্যবহৃত হয়।
উদাহরণ
নিচের কোডটি রান করে font property-র কাজ শিখুন:
<html>
<head>
</head>
<body>
<p style="font:italic small-caps bold 13px georgia;">
Applying all the properties on the text at once. </p>
</body>
</html>
সিনট্যাক্স: font: style variant weight size/line-height family;। size এবং family বাধ্যতামূলক, বাকিগুলো ঐচ্ছিক।