HTML5 의 기본

HTML(HyperText Markup Language)은 웹 문서를 작성하는 태그 언어이다.


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>

HTML 태그

HTML 문서의 구성 원소는 태그들이다. 태그는 <html>,<head>,<title>,<body>,<h1>, <img>,<footer>,<div> 등 100여개가 있으며, 목적에 적합한 태그로 문서를 작성한다.