Search code examples
csshtmltextstyles

Styling html text without CSS


I would like to html code part of my tumblr page, but in the context, I can't add any css. Is there any way to format text size, font, color, etc. without using css? I looked at <font> tags but they don't seem to be supported in html5. Is there a workaround or tag that would do this for me?

Thanks for all your help


Solution

  • Add CSS as a style directly to the tag you want to format.

    EX.

    <p style="width:20px;height:20px;background-color:#ffcc00;">The contents go here</p>