+ 7

The different font and text property ?

Hy i want to ask what the different font and text property ? I very confuse because the property same to style a text. thanks you very much

20th Jul 2016, 3:02 AM
Calvin Natanael
Calvin Natanael - avatar
8 Answers
+ 7
Font styles the properties of the font: how it looks like, how big it is, how much weight it has; Text styles how the text appears on the page: how it is aligned, how much spacing does it have, etc. Font properties are legacy from old, pre-css html, where nobody cared about visuals, while text is something much newer that came with css so designers have more freedom
22nd Jul 2016, 6:03 AM
Dawid Borusiak
Dawid Borusiak - avatar
+ 3
There's no property called 'text', but there're many other properties that can be used to style text. Here's an example using some of them: p { color: green; font-family: Arial, Sans-serif; font-size: 1.6em; font-weight: bold; text-align: center; text-transform: capitalize; text-indent: 45px; text-spacing: 3px; line-height: 1.6; word-spacing: 10px; }
20th Jul 2016, 12:00 PM
ZinC
ZinC - avatar
+ 3
thank you bro for your answer
20th Jul 2016, 12:19 PM
Calvin Natanael
Calvin Natanael - avatar
+ 2
so text-aling,transform,indent not text property but font property ?
20th Jul 2016, 12:20 PM
Calvin Natanael
Calvin Natanael - avatar
+ 2
p{ font-family:Arial,sans-serif; font-size:13px; font-weight:bold; }
29th Oct 2016, 2:06 PM
Jamiul Alam Rejon
Jamiul Alam Rejon - avatar
+ 1
they can be seen on the computer system under control panel
14th Nov 2016, 8:20 PM
Abdul-lateef Muhammad
Abdul-lateef Muhammad - avatar
+ 1
What is the smallest different between HTML <i> and CSS's font-weight?
21st Nov 2016, 10:12 AM
Kabis Nastou Condée
Kabis Nastou Condée - avatar
0
this question helps me also.. Thanks everyone!!
18th May 2017, 9:41 AM
Paul John D Peligro
Paul John D Peligro - avatar