element

tag

 


element (엘리먼트)

element : HTML을 문서 형식으로 구성할 때 의미를 표현하는 약속된 단어이다.


ex) p, em, strong, address, div, span

ex) header, nav, article, footer, section

ex)


<header>..<header>             머리말

<nav>..</nav>                     메뉴

<article>                             콘텐츠

<section>..</section>      문서내용

<section>..</section>

</article>

<footer>..</footer>               꼬릿말

 


tag (태그)

tag : 엘리먼트에 (<>)로 감싼 것


ex) <h1>~<h6>

ex) <br />