<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
input:focus{
background-color:yellow ;
}
</style>
</head>
<body>
<div>
<p>请输入英文字母:<input type="text" onchange="myFunction()" );
x.value=x.value.toUpperCase();
}
</script>
</div>
</body>
</html>

相关文章:

  • 2021-07-29
  • 2022-12-23
  • 2021-12-18
  • 2021-11-23
  • 2022-12-23
  • 2022-01-22
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案