HTML学习 Day3
HTML头部
<head>
<!--in this part ,you can insert a lot of imformation-->
</head>
1标签
Title 元素定义了这个他在浏览界面的标题
<head>
<title>This is the title</title>
</head>
2 标签
<head>
<base href = "https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/meta" target="_blank">
</head>
3 标签
Link表示的是这个元素和外部元素之间的关系
<link rel="stylesheet" type="text/css" href="mystyle.css">
4 标签
<meta name="description" content="免费 Web & 编程 教程">
<!--网站的刷新,conten内为刷新的间隔-->
<meta http-equiv="refresh" content="10">
5
<script>
js的脚本文件
</script>
The all
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My title</title>
<base href="https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/meta" target="_blank">
<link rel="stylesheet" type="text/css" href="mystyle.css">
<!--this is the style of the web-->
<style type="text/css">
body {
background-color: rgb(233, 233, 225)
}
p {
color: blue
}
</style>
<!--this is the color of the words-->
<!--网站的关键词-->
<meta name="keywords" content="HTML, CSS, JS, XHTML">
<meta name="description" content="免费 Web & 编程 教程">
<!--网站的刷新,conten内为刷新的间隔-->
<meta http-equiv="refresh" content="10">
<!--定义网站的作者-->
<meta name="author" content="cjj">
</head>
<body>
<p>
<h2>my</h2>
<p>do you want to learn more</p>
</p>
</body>
</html>