Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Enterprise
Expertise: Beginner
Jun 7, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Manually Adjust Leading in HTML Text

Do you have problems with the spacing that HTML line breaks and paragraph tags give? Or have you ever wanted leading that was in-between the two or just a little more than what you get with the paragraph tag? Heres a way to do it.

The paragraph tag responds to the font tag and the size attribute in the font tag, say "+1" or "+2." Simply place your paragraph tag between the open and close font tags like this:

<font size="+1"><P></font>(Your text here...)
Now changing the size attribute will adjust your line spacing to whatever your leading needs are.
Manoj Singh
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date