TIL-HTML(태그)

연시아·2022년 4월 6일
0

TIL

목록 보기
2/51
post-thumbnail

22.04.06

HTML <H1>~<H6> 태그(tag)

<H1>~<H6> 태그는 HTML 문서에서 제목(heading)을 정의할 때 사용합니다.
<H1> 요소가 가장 중요한 제목을 정의하고, <H6> 요소가 가장 덜 중요한 제목을 정의합니다.

ex)

`<h1>This is heading 1</h1>`
`<h2>This is heading 2</h2>`
`<h3>This is heading 3</h3>`
`<h4>This is heading 4</h4>`
`<h5>This is heading 5</h5>`
`<h6>This is heading 6</h6>`

▷ HTML new line tag

텍스트안에 줄바꿈을 생성합니다.
주소나 시조 등 구분이 중요한 내용을 작성할 때 유용합니다.

<br> 요소는 텍스트를 끊고 싶은 지점에 삽입해야 합니다.
텍스트 블록에서 줄을 바꾼다는 하나의 명확한 목적만 가지고 있으며,
크기도, 외형도 없으므로 스타일을 적용할 것도 없습니다.

ex) Hypertext Markup Language (HTML) is the standard markup language for `<strong>creating <u>web</u> pages</strong>` and web applications.`<br>`Web browsers receive HTML documents from a web server or from local storage and render them into multimedia web pages.`<br>` HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.`<br>`

▷ HTML paragraph tag

P는 paragaph의 약자로 문단을 의미합니다.
<P>태그와 </P> 태그 사이에 위치하는 내용이 하나의 문단을 구성합니다.

ex) `<p>`Hypertext Markup Language (HTML) is the standard markup language for `<strong>creating <u>web</u> pages</strong>` and web applications.Web browsers receive HTML documents from a web server or from local storage and render them into multimedia web pages.`</P>` `<p>` HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.`</p>`
`<p>`HTML elements are the building blocks of HTML pages. With HTML constructs, images and other objects, such as interactive forms, may be embedded into the rendered page.`</p>` `<p>`It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets.`</p>`
profile
backend developer

0개의 댓글