没有CSS的样式html文本 [英] Styling html text without CSS

查看:134
本文介绍了没有CSS的样式html文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将html代码部分放在我的tumblr页面中,但在上下文中,我无法添加任何CSS。有没有办法在不使用CSS的情况下格式化文本大小,字体,颜色等?我查看了< font> 标签,但html5似乎不支持这些标签。是否有针对我的解决方法或标记?

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?

感谢您的帮助

推荐答案

将CSS作为样式直接添加到要格式化的标签。

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

EX。

< p style =width:20px; height:20px; background-color:#ffcc00;>内容转到此处< / p>

这篇关于没有CSS的样式html文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆