• 회원가입
  • 로그인
  • 구글아이디로 로그인

[attribute] HTML - content 속성 ★ - 메타데이터 값 지정 (= content속성 = 콘텐트속성|컨텐트속성)

목차
  1. content 예제 - 메타데이터 설명
  2. content 정의
  3. content 구문
  4. content 예제 - 이동 대기시간 설정

 

content 예제 - 메타데이터 설명

 

<!DOCTYPE html>

<html>

<head>

  <meta charset="utf-8">

  <meta http-equiv="X-UA-Compatible" content="IE=Edge" />

  <meta name="description" content="홈페이지 제작관리 강의">

  <meta name="keywords" content="HTML,CSS,JavaScript,PHP,SQL">

  <!-- Open Graph -->

  <meta property="og:type" content="website" />

  <meta property="og:title" content="그누보드/영카트 제작관리 강의" />

  <meta property="og:description" content="(코딩언어/서버관리/그누보드/영카트/각종빌더) 제작|관리|강의" />

  <meta property="og:url" content="https://homzzang.com" />

  <meta property="og:site_name" content="홈짱닷컴" />

  <meta property="og:image" content="//homzzang.com/data/seo/sns_image.png" />

  <meta property="og:locale" content="ko_KR" />

  <meta name="viewport" content="width=device-width">

  <meta name="google-site-verification" content="구글사이트키" />

  <meta name="msvalidate.01" content="MS사이트키" />

  <meta name="naver-site-verification" content="네이버사이트키"/>

</head>

<body>


<h1>홈짱닷컴 Homzzang.com</h1>

<p>그누보드/영카트 강의</p>


</body>

</html>



 

content 정의

 

메타데이터(예: http-equiv, name 등 속성)와 관련된 값 지정.

 


 

1. content 속성 사용 가능 태그 종류

<meta>

 

2.

모든 브라우저 지원.

 

 

content 구문

 

<meta content="text">

 


[속성값]

 

text

http-equiv 또는 name 속성 등과 관련된 메타데이터 값 지정.

 

 

content 예제 - 이동 대기시간 설정

(예) 3초 대기 후, 홈짱닷컴으로 이동.

<meta http-equiv="refresh" content="3; URL=https://homzzang.com" />

 



분류 제목
attribute HTML - onkeyup 속성 ★ - 키보드키 올라갈 때 실행 (= onkeyup속성 = 온키업속성) ※ …
attribute HTML - onload 속성 ★ - 지정 객체가 로드된 경우 실행 (= onload속성 = 온로드속성) ※…
attribute HTML - onloadeddata 속성 - 미디어 로드되고 준비 완료 시 실행 (= onloadeddata…
attribute HTML - onloadedmetadata 속성 - 미디어 로드되고 준비 완료 시 실행 (= onloaded…
attribute HTML - onloadstart 속성 - 미디어 로드 시작 시 실행 (= onloadstart속성 = 온…
attribute HTML - onmousedown 속성 - 마우스버튼 내려갈 때 실행 (= onmousedown속성 = 온마…
attribute HTML - onmousemove 속성 ★ - 마우스커서가 지정요소 안으로 이동 시 실행 (= onmouse…
attribute HTML - onmouseout 속성 ★ - 마우스커서가 지정요소 밖으로 이동 시 실행 (= onmouseo…
attribute HTML - onmouseover 속성 ★ - 마우스커서가 지정요소 위에 있을 때 실행 (= onmouseo…
attribute HTML - onmouseup 속성 - 마우스버튼 올라갈 때 실행 (= onmouseup속성 = 온마우스업속…
attribute HTML - onmousewheel 속성 - (폐기예고) 마우스휠 움직일 때 실행 (= onmousewhe…
attribute HTML - onoffline 속성 - 브라우저가 오프라인으로 작동할 때 실행 (= onoffline속성 =…
attribute HTML - ononline 속성 - 브라우저가 온라인으로 작동할 때 실행 (= ononline속성 = 온온…
attribute HTML - onpagehide 속성 - 웹페이지가 숨겨질 때 실행 (= onpagehide속성 = 온페이지…
attribute HTML - onpageshow 속성 - 사용자가 웹페이지 탐색 시 실행 (= onpageshow속성 = 온…
attribute HTML - onpaste 속성 - 사용자가 요소에 내용 붙여넣기 시 실행 (= onpaste속성 = 온패스…
attribute HTML - onpause 속성 - (오디오/비디오) 일시정지 시 실행 (= onpause속성 = 온포스속성…
attribute HTML - onplay 속성 - (오디오/비디오) 재생 시 실행 (= onplay속성 = 온플레이속성) ※…
attribute HTML - onplaying 속성 - (오디오/비디오) 재생 중 실행 (= onplaying속성 = 온플레…
attribute HTML - onpopstate 속성 - 브라우저 히스토리 변경 시 실행 (= onpopstate속성 = 온…
13/18
목록
찾아주셔서 감사합니다. Since 2012