+ 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
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
+ 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;
}
+ 3
thank you bro for your answer
+ 2
so text-aling,transform,indent not text property but font property ?
+ 2
p{
font-family:Arial,sans-serif;
font-size:13px;
font-weight:bold;
}
+ 1
they can be seen on the computer system under control panel
+ 1
What is the smallest different between HTML <i> and CSS's font-weight?
0
this question helps me also.. Thanks everyone!!