怎么使标题变色加粗 童鞋们你们好,想问大家个问题,你们做过类似CMS内容发布系统,或者新闻发布系统在发布新闻的时候,用什么方法给新闻标题变色,加粗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <h3>新闻标题........</h3> 通常用这个做标题的标签 也可以<font>标题</font>自己定义样式 <style type="text/css>h1{color:red;}</style><h1>CSDN</h1> 可以,<strong></strong>都不建议使用了 <h1 style="color:Red; font-weight:bold;">标题</h1> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>反对党</title><STYLE type=text/css>#zy{width:202px;height:22px;position:absolute;left:338px;top:287px;font-family: Arial, Helvetica, sans-serif;font-size:11px;color:#8f8f8f;}#zx{position:absolute;left:249px;top:313px;color:#8f8f8f; }#zx a{ color:#000000; text-decoration:none; width:150px; height:40px; }#zx a:hover{ color:#FFF}</STYLE></head><body><div onmouseover="this.style.background='red'" onmouseout="this.style.background='#0000CC'" style="width:120px; height:40px;background: #299D3B; text-align:center; line-height:40px; font-size:13px; font-weight:bold;" id="zx"><a href="index.html">这是个DIV</a></div></body></html> <h3>新闻标题........</h3> js之间传递参数 求菜单收缩“中间”效果实现思路 重写alert方法 数组的Array一定要大写吗 javascript对表格的控制问题,求解! 关于JS调试工具 求一个JAVASCRIPT 急,请教高手。(急)谢谢 为什么onMouseOut事件在select上起反作用? 怎么实现这样的页面跳转? JS和Jquery都可以。 js读取网络xml 通过代理服务器上网 加载多个action
<style type="text/css>h1{color:red;}</style>
<h1>CSDN</h1>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>反对党</title>
<STYLE type=text/css>#zy
{
width:202px;
height:22px;
position:absolute;
left:338px;
top:287px;
font-family: Arial, Helvetica, sans-serif;
font-size:11px;
color:#8f8f8f;
}#zx
{position:absolute;
left:249px;
top:313px;
color:#8f8f8f;
}
#zx a
{
color:#000000;
text-decoration:none;
width:150px;
height:40px;
}
#zx a:hover
{
color:#FFF
}
</STYLE>
</head><body><div onmouseover="this.style.background='red'" onmouseout="this.style.background='#0000CC'" style="width:120px; height:40px;background: #299D3B; text-align:center; line-height:40px; font-size:13px; font-weight:bold;" id="zx"><a href="index.html">这是个DIV</a></div></body>
</html>