HTML
(HTML) 파비콘 넣는 방법?!
SAFE
2016. 4. 29. 11:20
파비콘이 뭐냐면..?
옆에 불모양 하고 C모양.. 저 이미지를 파비콘이라고 합니다.
파비콘 틀은 아래와 같습니다. 이걸 <head></head> 안에 넣으면 됩니다.
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?1" />
아래 예제를 보면 파비콘 이미지는
images 폴더에 favicon.png로 저장이 되어있어야 됩니다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <!doctype html> <html lang="ko"> <head> <meta charset="UTF-8"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> <title>Document</title> <link rel="shortcut icon" type="image/x-icon" href="./images/favicon.png" /> </head> <body> </body> </html> | cs |