Web/HTML

html) head, body, title

surhommejk 2018. 4. 24. 23:43

HTML <head>


The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.


https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head


막 써왔던 head의 본래 존재 목적이 잘 정리되어 있어서 발췌했다. 역시 알고 쓰는 것과 모르고 쓰는 것은 깊이가 다르다.



HTML <body>


The HTML <body> Element represents the content of an HTML document. There can be only one <body> element in a document.


https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body



HTML <title>


검색 엔진에서 잡을때 title element로 잡는다고 한다. 단순히 탭 상에 뜨는 이름이라기 보다는 이런 것도 고려를 하는 것이 좋겠다.