parent
5516d141d2
commit
e5389d20ef
@ -0,0 +1,24 @@ |
||||
<!DOCTYPE html> |
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8"/> |
||||
<meta name="viewport" content="width=device-width"/> |
||||
<style> |
||||
h1 { |
||||
display: inline; |
||||
} |
||||
p { |
||||
display: inline-block; |
||||
} |
||||
a { |
||||
display: block; |
||||
} |
||||
</style> |
||||
</head> |
||||
<body> |
||||
<h1>h has block property. But go to inline.</h1> |
||||
<p>p has block property. But go to inline-block</p> |
||||
<a>a has inline propery. But go to block.</a> |
||||
<span>span has inline property</span> |
||||
</body> |
||||
</html> |
Loading…
Reference in new issue