본문으로 건너뛰기

Tags (Tag)

Tags (Tag)

HTML is composed of tags. A tag is made up of text enclosed within < and > like <html>.

Tags consist of a start tag and an end tag, which serve to wrap the content of the element they define.

The start tag is like <tagname> (for example, <html>), and the end tag is like </tagname> (for example, </html>) where you add a "/" before the tag name.

These start and end tags wrapping something are referred to as an Element.

HTML div element example
<div>Hello World!</div>

Elements are the most fundamental blocks of a web page, defining the contents of the web page such as text, images, videos, input fields, etc.

다음 내용이 궁금하다면?

월 12,500원 PLUS 멤버십 가입 or 강의를 등록해 주세요!