Home  >  Article  >  Web Front-end  >  有个问题,问一下,对于高手可能很简单,本人菜鸟,勿喷_html/css_WEB-ITnose

有个问题,问一下,对于高手可能很简单,本人菜鸟,勿喷_html/css_WEB-ITnose

PHP中文网
PHP中文网Original
2016-06-24 12:08:34801browse

有个问题,问一下,对于高手可能很简单,本人菜鸟,勿喷_html/css_WEB-ITnose

html> 
<head> 
<title>晕倒</title> 
<style> 
<i 
h2{ 
font-family:幼圆; 
color:#0000FF; 
} 
> 
</style> 
</head> 
<body> 
<h2>CSS标记一</h2> 
<p>CSS标记正文内容1</p> 
</body> 
</html>

哪错了,为什么就是显示不了红色!!!!!


回复讨论(解决方案)

<style> 
<i 
h2{ 
font-family:幼圆; 
color:#0000FF; 
} 
> 
</style>

错了,把这一段改成这样 

<style> 
h2{ 
font-family:幼圆; 
color:#0000FF; 
} 
</style>

这是基本结构哦,建议看看书。H2 前面不加5a8028ccc7a7e27417bff9f05adf5932建议看看css的写法。。

以上就是有个问题,问一下,对于高手可能很简单,本人菜鸟,勿喷_html/css_WEB-ITnose的内容,更多相关内容请关注PHP中文网(www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn