본문 바로가기

[R]HTML 플러그인(HTML Plug-ins & object & embed)

The purpose of a plug-in is to extend the functionality of a web browser.

플러그인의 목적은 웹 브라우저의 기능을 확장하는 것입니다.




HTML Helpers (Plug-ins)

HTML 도우미 (플러그인)


Helper applications (plug-ins) are computer programs that extend the standard functionality of a web browser.

도우미 응용 프로그램 (플러그인)은 웹 브라우저의 표준 기능을 확장하는 컴퓨터 프로그램입니다.

Examples of well-known plug-ins are Java applets.

잘 알려진 플러그인의 예는 Java 애플릿입니다.

Plug-ins can be added to web pages with the <object> tag or the <embed> tag. 

<object>태그 또는 태그 가있는 웹 페이지에 플러그인을 추가 할 수 있습니다 <embed>. 

Plug-ins can be used for many purposes: display maps, scan for viruses, verify your bank id, etc.

플러그인은 여러 가지 목적으로 사용될 수 있습니다 :지도 표시, 바이러스 검사, 은행 ID 확인 등.


To display video and audio: Use the <video> and <audio> tags.

비디오 및 오디오를 표시하려면 <video>및 <audio>태그를 사용하십시오 .




The <object> Element

<object> 요소


The <object> element is supported by all browsers.

<object>요소는 모든 브라우저에서 지원됩니다.

The <object> element defines an embedded object within an HTML document.

이 <object>요소는 HTML 문서 내에 포함 된 개체를 정의합니다.

It is used to embed plug-ins (like Java applets, PDF readers, Flash Players) in web pages.

웹 페이지에 플러그인 (예 : Java 애플릿, PDF 판독기, Flash Player)을 내장하는 데 사용됩니다.


Example

1
<object width="400" height="50" data="bookmark.swf"></object>
cs



The <object> element can also be used to include HTML in HTML:

<object>요소는 HTML에 HTML을 포함 할 수 있습니다 :


Example

1
<object width="100%" height="500px" data="snippet.html"></object>
cs



Or images if you like:

또는 이미지가 원한다면 :


Example

1
<object data="audi.jpeg"></object>
cs

 




The <embed> Element

<embed> 요소


The <embed> element is supported in all major browsers.

이 <embed>요소는 모든 주요 브라우저에서 지원됩니다.

The <embed> element also defines an embedded object within an HTML document.

이 <embed>엘리먼트는 또한 HTML 문서 내의 임베디드 오브젝트를 정의한다.

Web browsers have supported the <embed> element for a long time. However, it has not been a part of the HTML specification before HTML5.

웹 브라우저는 오랫동안 <embed> 요소를 지원했습니다. 그러나 HTML5 이전에는 HTML 사양에 포함되지 않았습니다.


Example

1
<embed width="400" height="50" src="bookmark.swf">
cs



Note that the <embed> element does not have a closing tag. It can not contain alternative text.

<embed> 요소에는 닫는 태그가 없습니다. 대체 텍스트를 포함 할 수 없습니다.


The <embed> element can also be used to include HTML in HTML:

<embed>요소는 HTML에 HTML을 포함 할 수 있습니다 :


Example

1
<embed width="100%" height="500px" src="snippet.html">
cs



Or images if you like:

또는 이미지가 원한다면 :


Example

1
<embed src="audi.jpeg">
cs



'HTML' 카테고리의 다른 글

[R]HTML5 Geolocation  (0) 2018.07.20
[R]HTML YouTube 동영상(HTML YouTube Videos)  (0) 2018.07.19
[R]HTML5 오디오(HTML5 Audio)  (0) 2018.07.17
[R]HTML5 비디오(HTML5 Video)  (0) 2018.07.16
[R]HTML 멀티미디어(HTML Multimedia)  (0) 2018.07.15