HTML div 태그

1 개요[ | ]

HTML div tag
HTML <div> 태그
  • "division" → 구획, 부분
  • HTML 문서의 구획 요소 중 가장 흔히 사용하는 것
  • a 태그로 감싸서 링크를 만들 수 있음
<div style="color:#0000FF">
  <h3>This is a heading</h3>
  <p>This is a paragraph.</p>
</div>
<a href='http://zetawiki.com'><div style="width:50px; height:50px; background-color:red"></a></div>
<div style="width:50px; height:50px; background-color:blue"></div>
<div style="width:50px; height:50px; background-color:green"></div>

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}