Home  >  Article  >  Web Front-end  >  I have a question, let me ask it, it may be very simple for experts, but I am a novice, please don’t comment_html/css_WEB-ITnose

I have a question, let me ask it, it may be very simple for experts, but I am a novice, please don’t comment_html/css_WEB-ITnose

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

I have a question. It may be very simple for experts. I am a novice, so please don’t complain_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>

What’s wrong? Okay, why can’t it show red! ! ! ! !


Reply to discussion (solution)

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

Wrong, change this paragraph to this

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

This is the basic structure. It is recommended to read the book. If H2 is not preceded by 5a8028ccc7a7e27417bff9f05adf5932, it is recommended to look at how to write CSS. .

The above is a question, ask it, it may be very simple for experts, I am a novice, please do not spray the content of_html/css_WEB-ITnose, for more related content, please pay attention to the PHP Chinese website (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