取消a标签的下划线
text-decoration: none;
内容居中
text-align: center;
内容横排显示
display: inline;
提交form前的js校验
function checkForm(){
}
<form action="#" method="get" name="regForm" onsubmit="return checkForm()">
隐藏页面元素
style="display: none"
<img src="../img/fg.jpg" width="100%" style="display: none" id="img2"/>
图片
image.png