【发布时间】:2013-12-26 12:15:37
【问题描述】:
我想显示“情绪分析”,这样 S 应该比 h5 文本大得多。
以下代码有什么问题:
HTML:
<h1>S</h1> <h5>entiment Analysis</h5>
CSS:
h1 {
margin-left: 36%;
color:#C0C0C0;
font-family: "calibri";
text-decoration:underline;
white-space: pre;
}
h5 {
margin-left: 36%;
color:#C0C0C0;
font-family: "calibri";
text-decoration:underline;
white-space: pre;
}
【问题讨论】:
-
每个 H 元素都以新行开头。尝试使用 span 或其他元素。
-
您收到了 6 个答案,但没有评论/接受。为什么?
-
您的问题解决了吗?
标签: html css alignment html-heading