Skip to content

Commit

Permalink
Update home.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixtr committed Jan 18, 2024
1 parent 9a29636 commit e8fd581
Showing 1 changed file with 16 additions and 30 deletions.
46 changes: 16 additions & 30 deletions home.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,16 @@
<food>김치</food>
<!--브라우저가 이해못하는아무의미없는태그-->
<h1>Hello This is my website!</h1>
<!--브라우저가 이해하는 의미있는태그-->
<h2>Hello This is my website!</h2>
<h3>Hello This is my website!</h3>
<h4>Hello This is my website!</h4>
<h5>Hello This is my website!</h5>
<h6>Hello This is my website!</h6>

<ul>
<li>beer</li>
<li>김치</li>
<li>meat</li>
<li>milk</li>
</ul>
<!--ul태그 사이의 모든것들은 unordered list-->
<!--li태그 사이의 것들은 listed item-->

<a href="http://google.com" target="_blank">Go to google.com</a>
<!--a는 hyperlink anchor 하이퍼링크 닻-->
<!-- attribute라는 속성은 기본적인 뜻이 없으면 브라우저가 이해하지 못한다.
한 태그 안에 여러가지 속성을 입력할 수 있다.-->
<!-- target="_self" 자기 탭에서 열기
target"_blank" 새 탭에서 열기-->
<img
src="https://upload.wikimedia.org/wikipedia/en/thumb/6/63/Feels_good_man.jpg/200px-Feels_good_man.jpg"
/>
<!-- img는 self_closing_tag로서 /tag가 뒤에 없다.-->
<!-- img의 속성인 src는 source로 img만의 속성이며 사진을 집어넣는다.-->
<!DOCTYPE html>
<!--html필수로 브라우저에게 html 문서라고 알려줌-->
<html>
<!--html 태그 안에 넣는게 html 코드-->
<head>
<!--브라우저 탭 부분에 보이는 부분-->
<title>Home - My first Website</title>
<!-- 탭에 보이는 제목-->
</head>
<body>
<!-- 브라우저에 보이는 부분-->
<h1>Hello!</h1>
<a href="http://google.com" target="_blank">Go To google.com</a>
<img src="다운로드.png" />
</body>
</html>

0 comments on commit e8fd581

Please sign in to comment.