CSS learning process - (b) detailed display style attributes: none block inline inline-block

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div style="border: 1px solid red;display :inline">郑州大学</div>
		<form>
			<input />
			<input />
			<input />
		</form>
		<style>
			input{
				display:block
			}
		</style>
		<a href="http://www.4399.com" style="border :1px solid red;display:block;height: 100px;width: 100px;">4399</a>
	</body>
</html>

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/qq_44724446/article/details/90371594