Go Top
顯示具有 html 標籤的文章。 顯示所有文章
顯示具有 html 標籤的文章。 顯示所有文章

2019年11月5日 星期二

iframe 自適應高寬度 例:google map

高度
<iframe name="myframe" src="myframe.htm" frameborder="0" scrolling="auto" width="100%" height="100%" οnlοad="document.all['myframe'].style.height=myframe.document.body.scrollHeight" ></iframe>
寬度
<iframe name="myframe" src="myframe.htm" frameborder="0" scrolling="auto" width="100%" height="100%" οnlοad="document.all['myframe'].style.width=myframe.document.body.scrollWidth" ></iframe>

Example:
<div align=center><iframe name="myframe" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3615.4737972723406!2d121.46244851484161!3d25.01799018397986!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3442a81762728291%3A0x4b2b0a7b409da2aa!2zMjIw5paw5YyX5biC5p2_5qmL5Y2A5paH5YyW6Lev5LiA5q61MTAw6Jmf!5e0!3m2!1szh-TW!2stw!4v1573006302185!5m2!1szh-TW!2stw" frameborder="0" scrolling="auto" width="100%" height="400" οnlοad="document.all['myframe'].style.width=myframe.document.body.scrollWidth" ></iframe></div>


閱讀更多 »

2019年8月30日 星期五

[Coding Table] 2019.08.30 HTML Entities Table

These tables list the HTML entities as they are defined from w3.org .

There are three listings of HTML entities, the Latin characters, Symbols and Greek characters and Special characters.

The current character set/encoding is Unicode(utf-8)

HTML Entities Table

Latin characters

Example Name Decimal Unicode Description
  &nbsp; &#160; \u00A0 no-break space = non-breaking space
¡ &iexcl; &#161; \u00A1 inverted exclamation mark
¢ &cent; &#162; \u00A2 cent sign
£ &pound; &#163; \u00A3 pound sign
¤ &curren; &#164; \u00A4 currency sign
¥ &yen; &#165; \u00A5 yen sign = yuan sign
¦ &brvbar; &#166; \u00A6 broken bar = broken vertical bar
§ &sect; &#167; \u00A7 section sign
¨ &uml; &#168; \u00A8 diaeresis = spacing diaeresis
© &copy; &#169; \u00A9 copyright sign
ª &ordf; &#170; \u00AA feminine ordinal indicator
« &laquo; &#171; \u00AB left-pointing double angle quotation mark = left pointing guillemet
¬ &not; &#172; \u00AC not sign
­ &shy; &#173; \u00AD soft hyphen = discretionary hyphen
® &reg; &#174; \u00AE registered sign = registered trade mark sign
¯ &macr; &#175; \u00AF macron = spacing macron = overline = APL overbar
° &deg; &#176; \u00B0 degree sign
± &plusmn; &#177; \u00B1 plus-minus sign = plus-or-minus sign
² &sup2; &#178; \u00B2 superscript two = superscript digit two = squared
³ &sup3; &#179; \u00B3 superscript three = superscript digit three = cubed
´ &acute; &#180; \u00B4 acute accent = spacing acute
µ &micro; &#181; \u00B5 micro sign
&para; &#182; \u00B6 pilcrow sign = paragraph sign
· &middot; &#183; \u00B7 middle dot = Georgian comma = Greek middle dot
¸ &cedil; &#184; \u00B8 cedilla = spacing cedilla
¹ &sup1; &#185; \u00B9 superscript one = superscript digit one
º &ordm; &#186; \u00BA masculine ordinal indicator
» &raquo; &#187; \u00BB right-pointing double angle quotation mark = right pointing guillemet
¼ &frac14; &#188; \u00BC vulgar fraction one quarter = fraction one quarter
½ &frac12; &#189; \u00BD vulgar fraction one half = fraction one half
¾ &frac34; &#190; \u00BE vulgar fraction three quarters = fraction three quarters
¿ &iquest; &#191; \u00BF inverted question mark = turned question mark
À &Agrave; &#192; \u00C0 latin capital letter A with grave = latin capital letter A grave
Á &Aacute; &#193; \u00C1 latin capital letter A with acute
 &Acirc; &#194; \u00C2 latin capital letter A with circumflex
à &Atilde; &#195; \u00C3 latin capital letter A with tilde
Ä &Auml; &#196; \u00C4 latin capital letter A with diaeresis
Å &Aring; &#197; \u00C5 latin capital letter A with ring above = latin capital letter A ring
Æ &AElig; &#198; \u00C6 latin capital letter AE = latin capital ligature AE
Ç &Ccedil; &#199; \u00C7 latin capital letter C with cedilla
È &Egrave; &#200; \u00C8 latin capital letter E with grave
É &Eacute; &#201; \u00C9 latin capital letter E with acute
Ê &Ecirc; &#202; \u00CA latin capital letter E with circumflex
Ë &Euml; &#203; \u00CB latin capital letter E with diaeresis
Ì &Igrave; &#204; \u00CC latin capital letter I with grave
Í &Iacute; &#205; \u00CD latin capital letter I with acute
Î &Icirc; &#206; \u00CE latin capital letter I with circumflex
Ï &Iuml; &#207; \u00CF latin capital letter I with diaeresis
Ð &ETH; &#208; \u00D0 latin capital letter ETH
Ñ &Ntilde; &#209; \u00D1 latin capital letter N with tilde
Ò &Ograve; &#210; \u00D2 latin capital letter O with grave
Ó &Oacute; &#211; \u00D3 latin capital letter O with acute
Ô &Ocirc; &#212; \u00D4 latin capital letter O with circumflex
Õ &Otilde; &#213; \u00D5 latin capital letter O with tilde
Ö &Ouml; &#214; \u00D6 latin capital letter O with diaeresis
× &times; &#215; \u00D7 multiplication sign
Ø &Oslash; &#216; \u00D8 latin capital letter O with stroke = latin capital letter O slash
Ù &Ugrave; &#217; \u00D9 latin capital letter U with grave
Ú &Uacute; &#218; \u00DA latin capital letter U with acute
Û &Ucirc; &#219; \u00DB latin capital letter U with circumflex
Ü &Uuml; &#220; \u00DC latin capital letter U with diaeresis
Ý &Yacute; &#221; \u00DD latin capital letter Y with acute
Þ &THORN; &#222; \u00DE latin capital letter THORN
ß &szlig; &#223; \u00DF latin small letter sharp s = ess-zed
à &agrave; &#224; \u00E0 latin small letter a with grave = latin small letter a grave
á &aacute; &#225; \u00E1 latin small letter a with acute
â &acirc; &#226; \u00E2 latin small letter a with circumflex
ã &atilde; &#227; \u00E3 latin small letter a with tilde
ä &auml; &#228; \u00E4 latin small letter a with diaeresis
å &aring; &#229; \u00E5 latin small letter a with ring above = latin small letter a ring
æ &aelig; &#230; \u00E6 latin small letter ae = latin small ligature ae
ç &ccedil; &#231; \u00E7 latin small letter c with cedilla
è &egrave; &#232; \u00E8 latin small letter e with grave
é &eacute; &#233; \u00E9 latin small letter e with acute
ê &ecirc; &#234; \u00EA latin small letter e with circumflex
ë &euml; &#235; \u00EB latin small letter e with diaeresis
ì &igrave; &#236; \u00EC latin small letter i with grave
í &iacute; &#237; \u00ED latin small letter i with acute
î &icirc; &#238; \u00EE latin small letter i with circumflex
ï &iuml; &#239; \u00EF latin small letter i with diaeresis
ð &eth; &#240; \u00F0 latin small letter eth
ñ &ntilde; &#241; \u00F1 latin small letter n with tilde
ò &ograve; &#242; \u00F2 latin small letter o with grave
ó &oacute; &#243; \u00F3 latin small letter o with acute
ô &ocirc; &#244; \u00F4 latin small letter o with circumflex
õ &otilde; &#245; \u00F5 latin small letter o with tilde
ö &ouml; &#246; \u00F6 latin small letter o with diaeresis
÷ &divide; &#247; \u00F7 division sign
ø &oslash; &#248; \u00F8 latin small letter o with stroke
ù &ugrave; &#249; \u00F9 latin small letter u with grave
ú &uacute; &#250; \u00FA latin small letter u with acute
û &ucirc; &#251; \u00FB latin small letter u with circumflex
ü &uuml; &#252; \u00FC latin small letter u with diaeresis
ý &yacute; &#253; \u00FD latin small letter y with acute
þ &thorn; &#254; \u00FE latin small letter thorn
ÿ &yuml; &#255; \u00FF latin small letter y with diaeresis

Symbols and Greek characters

Example Name Decimal Unicode Description
ƒ &fnof; &#402; \u0192 latin small f with hook = function = florin
Α &Alpha; &#913; \u0391 greek capital letter alpha
Β &Beta; &#914; \u0392 greek capital letter beta
Γ &Gamma; &#915; \u0393 greek capital letter gamma
Δ &Delta; &#916; \u0394 greek capital letter delta
Ε &Epsilon; &#917; \u0395 greek capital letter epsilon
Ζ &Zeta; &#918; \u0396 greek capital letter zeta
Η &Eta; &#919; \u0397 greek capital letter eta
Θ &Theta; &#920; \u0398 greek capital letter theta
Ι &Iota; &#921; \u0399 greek capital letter iota
Κ &Kappa; &#922; \u039A greek capital letter kappa
Λ &Lambda; &#923; \u039B greek capital letter lambda
Μ &Mu; &#924; \u039C greek capital letter mu
Ν &Nu; &#925; \u039D greek capital letter nu
Ξ &Xi; &#926; \u039E greek capital letter xi
Ο &Omicron; &#927; \u039F greek capital letter omicron
Π &Pi; &#928; \u03A0 greek capital letter pi
Ρ &Rho; &#929; \u03A1 greek capital letter rho
Σ &Sigma; &#931; \u03A3 greek capital letter sigma
Τ &Tau; &#932; \u03A4 greek capital letter tau
Υ &Upsilon; &#933; \u03A5 greek capital letter upsilon
Φ &Phi; &#934; \u03A6 greek capital letter phi
Χ &Chi; &#935; \u03A7 greek capital letter chi
Ψ &Psi; &#936; \u03A8 greek capital letter psi
Ω &Omega; &#937; \u03A9 greek capital letter omega
α &alpha; &#945; \u03B1 greek small letter alpha
β &beta; &#946; \u03B2 greek small letter beta
γ &gamma; &#947; \u03B3 greek small letter gamma
δ &delta; &#948; \u03B4 greek small letter delta
ε &epsilon; &#949; \u03B5 greek small letter epsilon
ζ &zeta; &#950; \u03B6 greek small letter zeta
η &eta; &#951; \u03B7 greek small letter eta
θ &theta; &#952; \u03B8 greek small letter theta
ι &iota; &#953; \u03B9 greek small letter iota
κ &kappa; &#954; \u03BA greek small letter kappa
λ &lambda; &#955; \u03BB greek small letter lambda
μ &mu; &#956; \u03BC greek small letter mu
ν &nu; &#957; \u03BD greek small letter nu
ξ &xi; &#958; \u03BE greek small letter xi
ο &omicron; &#959; \u03BF greek small letter omicron
π &pi; &#960; \u03C0 greek small letter pi
ρ &rho; &#961; \u03C1 greek small letter rho
ς &sigmaf; &#962; \u03C2 greek small letter final sigma
σ &sigma; &#963; \u03C3 greek small letter sigma
τ &tau; &#964; \u03C4 greek small letter tau
υ &upsilon; &#965; \u03C5 greek small letter upsilon
φ &phi; &#966; \u03C6 greek small letter phi
χ &chi; &#967; \u03C7 greek small letter chi
ψ &psi; &#968; \u03C8 greek small letter psi
ω &omega; &#969; \u03C9 greek small letter omega
ϑ &thetasym; &#977; \u03D1 greek small letter theta symbol
ϒ &upsih; &#978; \u03D2 greek upsilon with hook symbol
ϖ &piv; &#982; \u03D6 greek pi symbol
&bull; &#8226; \u2022 bullet = black small circle
&hellip; &#8230; \u2026 horizontal ellipsis = three dot leader
&prime; &#8242; \u2032 prime = minutes = feet
&Prime; &#8243; \u2033 double prime = seconds = inches
&oline; &#8254; \u203E overline = spacing overscore
&frasl; &#8260; \u2044 fraction slash
&weierp; &#8472; \u2118 script capital P = power set = Weierstrass p
&image; &#8465; \u2111 blackletter capital I = imaginary part
&real; &#8476; \u211C blackletter capital R = real part symbol
&trade; &#8482; \u2122 trade mark sign
&alefsym; &#8501; \u2135 alef symbol = first transfinite cardinal
&larr; &#8592; \u2190 leftwards arrow
&uarr; &#8593; \u2191 upwards arrow
&rarr; &#8594; \u2192 rightwards arrow
&darr; &#8595; \u2193 downwards arrow
&harr; &#8596; \u2194 left right arrow
&crarr; &#8629; \u21B5 downwards arrow with corner leftwards = carriage return
&lArr; &#8656; \u21D0 leftwards double arrow
&uArr; &#8657; \u21D1 upwards double arrow
&rArr; &#8658; \u21D2 rightwards double arrow
&dArr; &#8659; \u21D3 downwards double arrow
&hArr; &#8660; \u21D4 left right double arrow
&forall; &#8704; \u2200 for all
&part; &#8706; \u2202 partial differential
&exist; &#8707; \u2203 there exists
&empty; &#8709; \u2205 empty set = null set = diameter
&nabla; &#8711; \u2207 nabla = backward difference
&isin; &#8712; \u2208 element of
&notin; &#8713; \u2209 not an element of
&ni; &#8715; \u220B contains as member
&prod; &#8719; \u220F n-ary product = product sign
&sum; &#8721; \u2211 n-ary sumation
&minus; &#8722; \u2212 minus sign
&lowast; &#8727; \u2217 asterisk operator
&radic; &#8730; \u221A square root = radical sign
&prop; &#8733; \u221D proportional to
&infin; &#8734; \u221E infinity
&ang; &#8736; \u2220 angle
&and; &#8743; \u2227 logical and = wedge
&or; &#8744; \u2228 logical or = vee
&cap; &#8745; \u2229 intersection = cap
&cup; &#8746; \u222A union = cup
&int; &#8747; \u222B integral
&there4; &#8756; \u2234 therefore
&sim; &#8764; \u223C tilde operator = varies with = similar to
&cong; &#8773; \u2245 approximately equal to
&asymp; &#8776; \u2248 almost equal to = asymptotic to
&ne; &#8800; \u2260 not equal to
&equiv; &#8801; \u2261 identical to
&le; &#8804; \u2264 less-than or equal to
&ge; &#8805; \u2265 greater-than or equal to
&sub; &#8834; \u2282 subset of
&sup; &#8835; \u2283 superset of
&nsub; &#8836; \u2284 not a subset of
&sube; &#8838; \u2286 subset of or equal to
&supe; &#8839; \u2287 superset of or equal to
&oplus; &#8853; \u2295 circled plus = direct sum
&otimes; &#8855; \u2297 circled times = vector product
&perp; &#8869; \u22A5 up tack = orthogonal to = perpendicular
&sdot; &#8901; \u22C5 dot operator
&lceil; &#8968; \u2308 left ceiling = apl upstile
&rceil; &#8969; \u2309 right ceiling
&lfloor; &#8970; \u230A left floor = apl downstile
&rfloor; &#8971; \u230B right floor
&lang; &#9001; \u2329 left-pointing angle bracket = bra
&rang; &#9002; \u232A right-pointing angle bracket = ket
&loz; &#9674; \u25CA lozenge
&spades; &#9824; \u2660 black spade suit
&clubs; &#9827; \u2663 black club suit = shamrock
&hearts; &#9829; \u2665 black heart suit = valentine
&diams; &#9830; \u2666 black diamond suit

Special characters

Example Name Decimal Unicode Description
" &quot; &#34; \u0022 quotation mark = APL quote
& &amp; &#38; \u0026 ampersand
< &lt; &#60; \u003C less-than sign
> &gt; &#62; \u003E greater-than sign
Π&OElig; &#338; \u0152 latin capital ligature OE
œ &oelig; &#339; \u0153 latin small ligature oe
Š &Scaron; &#352; \u0160 latin capital letter S with caron
š &scaron; &#353; \u0161 latin small letter s with caron
Ÿ &Yuml; &#376; \u0178 latin capital letter Y with diaeresis
ˆ &circ; &#710; \u02C6 modifier letter circumflex accent
˜ &tilde; &#732; \u02DC small tilde
&ensp; &#8194; \u2002 en space
&emsp; &#8195; \u2003 em space
&thinsp; &#8201; \u2009 thin space
&zwnj; &#8204; \u200C zero width non-joiner
&zwj; &#8205; \u200D zero width joiner
&lrm; &#8206; \u200E left-to-right mark
&rlm; &#8207; \u200F right-to-left mark
&ndash; &#8211; \u2013 en dash
&mdash; &#8212; \u2014 em dash
&lsquo; &#8216; \u2018 left single quotation mark
&rsquo; &#8217; \u2019 right single quotation mark
&sbquo; &#8218; \u201A single low-9 quotation mark
&ldquo; &#8220; \u201C left double quotation mark
&rdquo; &#8221; \u201D right double quotation mark
&bdquo; &#8222; \u201E double low-9 quotation mark
&dagger; &#8224; \u2020 dagger
&Dagger; &#8225; \u2021 double dagger
&permil; &#8240; \u2030 per mille sign
&lsaquo; &#8249; \u2039 single left-pointing angle quotation mark
&rsaquo; &#8250; \u203A single right-pointing angle quotation mark
&euro; &#8364; \u20AC euro sign
閱讀更多 »

2019年1月24日 星期四

[Issue] 手機網頁的iframe呈現空白

當遇到網頁中嵌入iframe內容卻不能顯示的時候,請試下以下的方法 1. iframe格式將src放到最後面 2. 在iframe內加入allowfullscreen webkitallowfullscreen msallowfullscreen
閱讀更多 »
Copyright © BCL BLOG | Powered by Blogger