本文介绍了这个HTML代码有什么问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<html>

<head><title>

home</title>

<style>

body

{

font-family:Arial,sans-serif;

background-color:gray;

color:red;

}

header

{

background-color:black;

color:White;

}

</style>

</head>

<body>

<header>

<h1>hello i'm from header</h1>

<h3>there is no need to add style type="css/text" media="screen" and you forgot to close style tag </h3>

</header>

</body>

</html>





我的尝试:





What I have tried:

<html>

<head><title>

home</title>

<style>

body

{

font-family:Arial,sans-serif;

background-color:gray;

color:red;

}

header

{

back

推荐答案


这篇关于这个HTML代码有什么问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 21:37
查看更多