嵌入样式表是在网页文档的头部定义一个<style></style> 标签对,在该标签对内加入各种网页元素的样式规则。如:
<html>
<head>
<title>嵌入式样式表的范例</title>
<style type="text/css" media="screen">
<!--
h1
{
font-size:30px;
color:red;
background-color:yellow;
text-align:cen
<html>
<head>
<title>嵌入式样式表的范例</title>
<style type="text/css" media="screen">
<!--
h1
{
font-size:30px;
color:red;
background-color:yellow;
text-align:cen