您当前所在位置:
88好学网范文常识生活常识电脑常识js:html 按钮颜色:网页按钮的特殊颜色设置» 正文

js:html 按钮颜色:网页按钮的特殊颜色设置

[05-26 12:49:17]   来源:http://www.88haoxue.com  电脑常识   阅读:680

概要:html 按钮颜色:网页按钮的特殊颜色设置<input type=button name="Submit1" value="a" size=10 class=s02 style="background-color:rgb(235,207,22)">详细代码如下:<!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&

js:html 按钮颜色:网页按钮的特殊颜色设置,标签:电脑常识大全,http://www.88haoxue.com

html 按钮颜色:网页按钮的特殊颜色设置

<input type=button name="Submit1" value="a" size=10 class=s02 style="background-color:rgb(235,207,22)">

详细代码如下:

<!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>
<script language="javascript">
function deleteDiv(ele){
ele.parentNode.parentNode.removeChild(ele.parentNode);
}
</script>
</head>

<body >
<div style="border:1px solid #ccc;"><input type="button" style="background:#00ff00" value="Button"></div>
</body>
</html>
 


Tag:电脑常识电脑常识大全生活常识 - 电脑常识
》《js:html 按钮颜色:网页按钮的特殊颜色设置》相关文章