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中文网
Release: 2016-06-24 12:08:34
Original
852 people have browsed it

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>
Copy after login

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


Reply to discussion (solution)

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

Wrong, change this paragraph to this

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

This is the basic structure. It is recommended to read the book. If H2 is not preceded by , 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 )!


source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template