scuba_diving Google에서 처음으로 3일 동안 진행하는 검색엔진 최적화 컨퍼런스가 7월 23일~25일 방콕에서 열립니다. 참여하여
심층 분석을 경험해 보세요. 2025년 검색 센터 라이브 심층 분석에
지금 등록하세요
유효한 HTML을 사용하여 페이지 메타데이터 명시하기
페이지 메타데이터에 유효한 HTML을 사용하면 Google에서 문서에 명시된 대로 메타데이터를 사용할 수 있습니다.
Google에서는 HTML이 잘못되었거나 HTML 표준과 일치하지 않더라도 HTML을 이해하려고 노력합니다. 그러나 마크업 오류가 있으면 Google 검색에서 메타데이터가 사용되는 방식에 문제가 발생할 수 있습니다.
페이지에 관한 메타데이터를 지정하기 위해 주로 사용되는 요소는 HTML 문서의 <head>
요소입니다. <head>
요소에 잘못된 요소를 사용하는 경우 Google에서 잘못된 요소 뒤에 표시되는 요소를 무시합니다.
<head>
요소에 유효한 요소 사용하기
HTML 표준에 따라 <head>
요소에는 다음과 같은 유효한 요소만 포함해야 하며 다른 잘못된 요소는 포함하면 안 됩니다.
title
meta
link
script
style
base
noscript
template
<head>
에 유효하지 않은 요소 사용하지 않기
<head>
요소에서 위에 명시된 요소 외의 다른 요소는 HTML 표준에 의해 허용되지 않습니다. <head>
요소에 종종 사용되지만 이를 렌더링하는 것이 유효하지 않은 요소는 다음과 같습니다.
<head>
요소에 유효하지 않은 요소를 사용하지 않는 것이 좋습니다. 하지만 반드시 필요하다면 Google에 표시하려는 요소 뒤에 유효하지 않은 요소를 배치하세요. Google이 유효하지 않은 요소 중 하나를 감지하면 <head>
요소가 끝났다고 가정하며 <head>
요소에 있는 추가 요소 읽기를 중지합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-02-17(UTC)
[null,null,["최종 업데이트: 2025-02-17(UTC)"],[[["Utilize valid HTML for page metadata to ensure Google can properly interpret and use it in search results."],["Include metadata within the `\u003chead\u003e` element of your HTML document, using only the valid elements specified by the HTML standard: `title`, `meta`, `link`, `script`, `style`, `base`, `noscript`, and `template`."],["Avoid using invalid elements like `\u003ciframe\u003e` and `\u003cimg\u003e` within the `\u003chead\u003e` element as this can disrupt Google's parsing and cause metadata to be ignored."],["If you must use invalid elements, place them after the valid metadata elements to minimize potential issues."]]],["Valid HTML is crucial for Google to utilize page metadata correctly. The `\u003chead\u003e` element is key for this; only specific elements (`title`, `meta`, `link`, `script`, `style`, `base`, `noscript`, `template`) are allowed within it. Invalid elements, like `iframe` or `img`, cause Google to ignore any subsequent elements within `\u003chead\u003e`. Avoid invalid elements; if used, place them after valid ones to ensure Google reads the desired metadata first.\n"]]