WEB/HTML & CSS

WEB1- HTML

inderrom 2022. 6. 29. 22:37
HTML : HyperTextMarkupLanguage

     웹페이지를 만드는 언어

 

-코딩을 하기 위해선 에디터(editor)가 필요

https://atom.io/ - 주로 쓰는 에디터

 

-단축키

  • Cmd + O (웹브라우저로 웹페이지 열기)
  • Cmd + S (세이브 기능)

 

-TAG

  • 밑줄(underline)
<u>web</u>
  • 강조
<strong>creating web pages</strong>

 

결과는 이렇게 보임

  • H1 - H6 (제목 크기)
<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>
웹페이지 분석 사이트( 분석 결과 정돈)

https://advancedwebranking.com/html/

 

 

  • 줄바꿈 (P, br)
<br>은 줄바꿈
<p> </p> 는 단락 바꿈

중간에 <p style="margin-top:45px;"> 는 css로 문단의 여백크기를 설정할 수 있다