공부 내용 : mdn web docs - HTML 기초

<p>My cat is <strong>very</strong> grumpy.</p>
<img src="images/firefox-icon.png" alt="My test image">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My test page</title>
</head>
<body>
<img src="images/firefox-icon.png" alt="My test image">
</body>
</html>
<!DOCTYPE html> — 필수 서문<html></html> — 페이지 전체의 콘텐츠를 감싸며, 루트(root) 요소라고도 함.<head></head><meta name="viewport" content="width=device-width"> — 뷰포트의 너비에서 페이지가 렌더링하도록 함<title></title> — 페이지의 제목을 설정<body></body> — 페이지에 방문한 모든 웹 사용자들에게 보여주길 원하는 모든 컨텐츠를 담고 있음<img src="images/firefox-icon.png" alt="My test image">
src : 이미지 경로와 파일명alt : 대안, 이미지 볼수 없는 경우의 설명 텍스트<!-- 4 heading levels: -->
<h1>My main title</h1>
<h2>My top level heading</h2>
<h3>My subheading</h3>
<h4>My sub-subheading</h4>
<p>This is a single paragraph</p>
<p> : 문단을 포함하기 위한 태그
<ul><ol>목록의 각 항목은 <li> 요소 안에 넣어야 한다.
<a> : anchor의 약자로 링크를 만들수 있게함
<a href="https://www.mozilla.org/en-US/about/manifesto/">Mozilla Manifesto</a>