<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/Html4/loose.dtd">
<Html>
<head>
<meta http-equiv="Content-Type" content="text/Html; charset=UTF-8">
<title>Insert title here</title>
<!--文本的顯示和隱藏 -->
<style type="text/CSS">
#div_2{
display: inline;
}
#span_1{
/* display:block; */
visibility: hidden;
}
</style>
</head>
<body>
<div>div1</div>
<div id="div_2">div2</div>
<span id="span_1">span1</span>
<span>span2</span>
</body>
</Html>