I don't think you can control leading in HTML.
But even if you could, I would still recommend using CSS instead.
Here's how you would do it in CSS:
%26lt;style%26gt;
p {
font-size: 1.2em;
line-height: 1.5em;
}
%26lt;/style%26gt;
Everything in { } are all the styles that will be applied. You can put any number of properties together in there.
The 'p' selector means that all the styles in the { } will apply to everything you have in the %26lt;p%26gt;...%26lt;/p%26gt; element on your page. This selector doesn't have to be a %26lt;p%26gt; but any element or named item.
Font-size is obvious, and line-height is the property name for leading.
No comments:
Post a Comment