HTML

[intro] HTML - 구형브라우저에서 HTML5 사용 (+ HTML요소생성법)

  html5shiv.js 10.1K 9 8년전
목차
  1. HTML 요소 생성
  2. HTML Shiv 이용

※ 2가지 방법 중 편한 방법 택일.

 

HTML 요소 생성 

 

<script>document.createElement("h0")</script>
 
<style>
h0 { font-size: 1.5em; font-weight:bolder; font-family:arial; font-style:italic} 
</style>

<h0>생성된 요소는 홈짱닷컴 (Homzzang.com)에서만 사용 가능</h0>


결과보기

※ 주의: 이 방법은 IE 8 이하 버전에서는 사용 불가.

HTML Shiv 이용


<!--[if lt IE 9]>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->

※ 위 소스를 그누보드 head.sub.php 파일  <head> 태그 내 삽입.
※ 제작자 :  Sjoerd Visscher
 
PS. 아래 좌표 작동 X. (※ 위 좌표를 이용하시든가, 첨부파일 이용.)

 

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

 



분류 제목
attribute HTML - ondragenter 속성 - 드래그 한 요소가 드롭박스에 들어갈 때 실행 (= ondragen…
attribute HTML - ondragleave 속성 - 드래그 한 요소가 드롭박스 이탈 시 실행 (= ondragleav…
attribute HTML - ondragover 속성 - 드래그 한 요소가 드롭박스 위에 위치 시 실행 (= ondragov…
attribute HTML - ondragstart 속성 - 드래그 시작 시 실행 (= ondragstart속성 = 온드래그스…
attribute HTML - ondrop 속성 - 드래그 한 요소를 드롭 할 때 실행 (= ondrag속성 = 온드래그속성)…
attribute HTML - ondurationchange 속성 - 재생시간 데이터가 변경될 때 실행 (= onduratio…
attribute HTML - onemptied 속성 - 미디어 소스가 비어있거나 삭제된 경우에 실행 (= onemptied속…
attribute HTML - onended 속성 - 미디어 재생 끝날 때 실행 (= onended속성 = 온엔디드속성) ※ …
attribute HTML - onerror 속성 - 미디어파일 로딩 에러 시 실행 (= onerror속성 = 온에러속성) ※…
attribute HTML - onfocus 속성 ★ - 포커스 설정 시 실행 (= onfocus속성 = 온포커스속성) ※ o…
attribute HTML - onhashchange 속성 - 링크 해시값 변경 시 실행 (= onhashchange속성 = …
attribute HTML - oninput 속성 ★ - 사용자 입력값 변경 시 바로 실행 (= oninput속성 = 온인풋속…
attribute HTML - oninvalid 속성 - 유효하지 않은 입력값 제출 시 실행 (= oninvalid속성 = 온…
attribute HTML - onkeydown 속성 - 키보드키 내려갈 때 실행 (= onkeydown속성 = 온키다운속성)…
attribute HTML - onkeypress 속성 - [페기예고] 키보드키 눌렀을 때 실행 (= onkeypress속성 …
16/24
목록
 홈  PC버전 로그인 일본어
그누앞단언어
그누뒷단언어
그외코딩언어
그누보드
제작의뢰
Q&A
커뮤니티
웹유틸
회원센터
홈짱닷컴 PC버전 로그인