how to set up an HTML file

장돌뱅이 ·2021년 12월 18일
0

HTML

목록 보기
10/25

<!DOCTYPE html>
; the declaration specifying the version of HTML for the browser

<html> and closing </html>
Anything between the opening <html> and closing </html> tags will be interpreted as HTML code(enclose all of your HTML code)

<head> </head>
It goes above our < body> element.

The <head> element contains the metadata for a web page. Metadata is information about the page that isn’t displayed directly on the web page. Unlike the information inside of the <body> tag, the metadata in the head is information about the page itself.

contains the metadata of a webpage, such as its <title>

<title> 태그
항상 <head> </head>안쪽에 위치한다.
in the title bar (or in the tab’s title)를 정의한다.

0개의 댓글