鄙人今天刚学 html,请问这个css为何体现不出来?
<html>
<head>
<title>This is my first html program</title>
<script type="text/javascript">
<!--
alert("注意合理利用时间");
-->
</script>
<style="text/css">
<!--
h2{font-size:60px;font-family:"隶书"}
-->
</style>
</head>
<body bgcolor="green" >
<h2 align=center>Welcome come here!<br>
Nice to meet you!</h2>
<hr>
<h3 align=right>Congratulations!</h3>
</body>
</html>
答案:"<style="text/css">"
<style type=....>
其他:font-family:"隶书" 网页中不用这个字体,常规:
中文网站 宋体
英文网站 arial 貌似隶书不用打双引号啊
上一个:html 加简单的css代码,不知其<h1 class=title>为什么用class
下一个:什么是QA工程师,和CSS/javascript有关还是电气/自动化有关?