HTML basic (1) - Elements and Structure

Seogyu Gim·2020년 11월 26일
0

html/css

목록 보기
2/2

Elements and Structure

HTML

HTML (HyperText Markup Language) is a language that build a web page. It can give content it, and let web browsers know how to handle that content.

HTML Element

HTML Element is a part of content in an HTML document. When you write document in this format, should follow syntax below:

<tag> + content(i.g "hello world") + </tag>
ex) <p> + hello world + </p> => shows "hello world" in web page.

Header Element

Header represents the contents of top part, such as name of web page or category.

<header></header>

Body Element

Body shows main content of the document.

<body>
    <h1>...</h1>
        <p></p>
    <h2>...</h2>
</body>

Footer is usually consist of phone number or Email address.

<footer></footer>

<h1>~<h6> Heading Elements
There's six level of heading elements. They all shows heading ,but different importance of its role.

<h1>MAIN SUBJECT</h1>
profile
의미 있는 일을 하고싶은 개발자

0개의 댓글