스타일 따옴표 속성
예시
따옴표 변경:
document.getElementById("myQ").style.quotes = "'\253' '\273'";
정의 및 사용
인용 속성은 포함된 인용 부호의 인용 부호 유형을 설정하거나 반환합니다.
브라우저 지원
Property | |||||
---|---|---|---|---|---|
quotes | Yes | Yes | Yes | Yes | Yes |
통사론
따옴표 속성을 반환합니다.
object.style.quotes
따옴표 속성을 설정합니다.
object.style.quotes = "none|string string string string|initial|inherit"
속성 값
Value | Description |
---|---|
none | Specifies that the open-quote and close-quote values will not produce any quotation marks. This is default |
string string string string | Specifies which quotation marks to use. The first two values specifies the first level of quotation embedding, the next two values specifies the next level of quote embedding, etc |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
기술적 세부 사항
기본값: | 없음 |
---|---|
반환 값: | 포함된 따옴표의 따옴표 유형을 나타내는 문자열 |
CSS 버전 | CSS2 |
더 많은 예
예시
따옴표 속성을 반환합니다.
alert(document.getElementById("myQ").style.quotes);
관련 페이지
CSS 참조: 인용 속성
❮ 스타일 개체