Inline HTML CSS style formatting for the P tag
Sure, using stylesheets is the way to go, but what about those times when you just need to format some text inline. For example, whenever I list something on eBay, the “Description” box will allow for fancy html / css markup but you have to do it by hand. And no linking to a css. It’s simply a matter of putting all the css within the html P tag, like this:
<p style="color:#05058E; font-family:sans-serif;
font-size: 22px; font-weight: bold;
letter-spacing: 4px; line-height: 1.2em;">
Your text here.
</p>







Want to Leave a Reply?