이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

Literal Attribute Values

2023년 6월 15일 오전 4:54

Literal attribute values can use several different styles of quoting:

  • Single quotes (eg attr='value')
  • Double quotes (eg attr="value")
  • Tripe double quotes (eg attr="""value""")
  • No quoting is necessary for values that do not contain spaces (eg attr=value)

Literal attribute values can include line breaks. For example:

<div data-address="Mouse House,
Mouse Lane,
Rodentville,
Ratland."/>

By using triple-double quotes you can specify attribute values that contain single double quotes. For example:

<div data-address="""Mouse House,
"Mouse" Lane,
Rodentville,
Ratland."""/>