html
html > head 기본 태그
열공보배
2019. 12. 2. 17:11
head 태그는 웹문서의 머리글 영역으로 문서의 정의를 설정할 수 있습니다.
<head></head> 태그 안에 올 수 있는 태그를 정리합니다.
<meta> 태그 : 웹문서 기본정보 설정 http-equiv, charset, name, content, property 등 정의
<meta http-equiv="content-language" content="ko">
<meta charset="UTF-8">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title> 태그 : 웹문서의 제목 설정
<title>열공보배의 블로그- html 공부</title>
<script> 태그 : 브라우저 실행 스크립트 포함 설정
<!--js 외부 파일 포함-->
<script src="common.js"></script>
<!--문서내 스크립트 기재-->
<script type="text/javascript">
funtion goSubmit() {
스크립트 내용 나열~
}
</script>
<style> <link> 태그 : 문서의 요소들에 대한 스타일 정의 설정
<!--외부 스타일 문서 포함-->
<link rel="stylesheet" href="common.css" />
<!--문서내 스타일 기재-->
<style>
스타일 나열~
</style>