본문 바로가기
Front-end/HTML

HTML 태그별 display 속성

by ciocio 2021. 8. 11.

📌  Inline

 

 

◾ <a> : inline

 

◾ <input> : inline

 

◾ <img> : inline

 

◾ <span> : inline

 

 

 

📌  Block

 

 

◾ <blockquote> : block

 

◾ <div> : block

 

◾ <form> : block

 

◾ <h1> ~ <h6> : block

 

◾ <li>  <ol>  <ul> : block

 

◾ <p> : block

 

◾ <pre> : block

 

◾ <table> : block

 

반응형

'Front-end > HTML' 카테고리의 다른 글

HTML attribute와 property 차이  (0) 2021.09.16
HTML <input> type 속성  (0) 2021.08.10

댓글