HTML

[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 - srcdoc 속성 - 아이프레임(iframe) src 속성 내용 대체할 태그내용 지정 (= sr…
attribute HTML - srclang 속성 - 트랙태그 소스의 언어코드 지정 (= srclang속성 = 에스알시랭속성/…
attribute HTML - srcset 속성 - 다른 환경에서 적용할 이미지소스 지정 (= srcset속성 = 에스알시셋속…
attribute HTML - start 속성 - 순서있는 리스트 시작값 설정 (= start속성 = 스타트속성) ※ 오엘태그…
attribute HTML - step 속성 - 입력 가능 숫자 간격 설정 (= step속성 = 스텝속성) ※ 입력 가능 배수…
attribute HTML - style 속성 ★ - 인라인 스타일 지정 (= style속성 = 스타일속성)
attribute HTML - tabindex 속성 - 탭색인번호 지정 (= tabindex속성 = 탭인덱스속성) ※ 탭넵비게…
attribute HTML - target 속성 ★ - (링크된 문서 열 곳 / 폼 제출할 곳) 지정 (= target속성 =…
attribute HTML - title 속성 ★ - 요소애 대한 추가 정보 지정 (= title속성 = 타이틀속성)
attribute HTML - translate 속성 - 요소 내용 번역 허용 여부 지정 (= translate속성 = 트랜슬…
attribute HTML - type 속성 ★★★ - 요소 타입 지정 (= type속성 = 타입속성)
attribute HTML - usemap 속성 - 이미지를 이미지맵으로 지정 (= usemap속성 = 유즈맵속성|유스맵속성)
attribute HTML - value 속성 ★★★ - 요소값 지정 (= value속성 = 밸류속성) ※ 초기값/기본값/현재…
attribute HTML - width 속성 - 너비 지정 (= width속성 = 위드스속성) ※ 가로길이 설정
attribute HTML - wrap 속성 - FORM 제출 시, TEXTAREA 텍스트 감싸기 (= wrap속성 = 랩속성…
21/24
목록
 홈  PC버전 로그인 일본어
그누앞단언어
그누뒷단언어
그외코딩언어
그누보드
제작의뢰
Q&A
커뮤니티
웹유틸
회원센터
홈짱닷컴 PC버전 로그인