wordpress html格式问题
我面临着一个非常糟糕的问题,我的网站HTML和CSS。它的HTML部分,你可以看到,我用了h4,强或其他东西wordpress html格式问题,html,css,wordpress,Html,Css,Wordpress,我面临着一个非常糟糕的问题,我的网站HTML和CSS。它的HTML部分,你可以看到,我用了h4,强或其他东西 <h1>The story began.</h1> <em><strong>This would</strong></em> be an example of a post that I'm trying to reformat via better HTML. <a href="http://mobiscr
<h1>The story began.</h1>
<em><strong>This would</strong></em> be an example of a post that I'm trying to reformat via better HTML.
<a href="http://mobiscreenr.com/wp-content/uploads/2015/05/note.jpg"><img class="aligncenter size-full wp-image-100" src="http://mobiscreenr.com/wp-content/uploads/2015/05/note.jpg" alt="note" width="119" height="163" /></a>
故事开始了。
这将是我试图通过更好的HTML重新格式化的帖子的一个例子。
但是。打开主题的style.css文件,在第10行找到以下css:
address, caption, cite, code, dfn, em, strong, th, var, optgroup {
font-style: inherit;
font-weight: inherit;
}
在此行之后添加:
em {
font-style: italic;
}
&
p、 你可以通过WordPress编辑css文件,方法是转到“外观”/“编辑器”并找到style.css文件。下面是代码{{{{{故事开始。这将是我试图通过更好的HTML重新格式化的帖子的一个例子。class=“aligncenter size full wp-image-100”src=“”alt=“note”width=“119”height=“163”/>请不要在评论中发布代码…这是不可读的。另外…您的问题是什么?预期的输出是什么?页面根据您定义的CSS样式正确呈现。问题在哪里?请参阅此链接,它是当前输出,我希望它在更好的HTML中。然后添加一些CSS样式。。。
strong {
font-weight: bold;
}