MDN Web技术文档 - HTML 元素


元素

 

HTML元素
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
(快速链接 HTML Category)

HTML元素

这个HTML引用列表所有HTML元素,定义在HTML5或在之前的规范。把尖括号放置在HTML元素的两边,就构成了HTML标签 : 元素实体指定HTML文档如何应该建立,什么样的内容应该放置在一个HTML文档的哪些部分。

此页列出了所有的标准 HTML5 标签,而且浏览器可能支持陈旧及弃用的标签也会列出。在这里所介绍的 HTML5 元素通常都被认定为新的 HTML5 元素,即使其他标准元素也在 HTML5 认定为有效的。

在HTML文档内有一个元素被定义为一个开始标签。如果一个元素包含其他內容,它以一个结束标签结束,元素名称的前面有一个斜杠. 有些元素不需要被封闭,如图像元素。這些元素也被称为空元素。HTML文件包含一个元素树状结构图。每一个元素都以各自的功能命名。举例来说: </code>元素代表文档的标题。</p> <p style="border:0px;">下面按字母顺序列出HTML元素。</p> <div class="index widgeted" style="border:0px;"> <span id="A" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">A</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><a></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><abbr></code></li> <li style="border:0px;"><span class="obsoleteElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><acronym></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><address></code></li> <li style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><applet></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><area></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><article></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><aside></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><audio></code></li> </ul> <span id="B" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">B</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><b></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><base></code></li> <li style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><basefont></code></span></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><bdi></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><bdo></code></li> <li style="border:0px;"><span class="nonStdElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><bgsound></code></span></li> <li style="border:0px;"><span class="obsoleteElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><big></code></span></li> <li style="border:0px;"><span class="nonStdElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><blink></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><blockquote></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><body></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><br></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><button></code></li> </ul> <span id="C" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">C</span> <ul style="border:0px;list-style:none;"> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><canvas></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><caption></code></li> <li style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><center></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><cite></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><code></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><col></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><colgroup></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><command></code></li> </ul> <span id="D" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">D</span> <ul style="border:0px;list-style:none;"> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><data></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><datalist></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><dd></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><del></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><details></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><dfn></code></li> <li style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><dir></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><div></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><dl></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><dt></code></li> </ul> <span id="E" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">E</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><em></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><embed></code></li> </ul> <span id="F" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">F</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><fieldset></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><figcaption></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><figure></code></li> <li style="border:0px;"><span class="deprecatedElement obsoleteElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><font></code></span></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><footer></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><form></code></li> <li style="border:0px;"><span class="obsoleteElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><frame></code></span></li> <li style="border:0px;"><span class="obsoleteElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><frameset></code></span></li> </ul> <span id="G" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">G H</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><h1></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><h2></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><h3></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><h4></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><h5></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><h6></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><head></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><header></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><span class="deprecatedElement obsoleteElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><hgroup></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><hr></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><html></code></li> </ul> <span id="I" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">I</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><i></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><iframe></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><img></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><input></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><ins></code></li> <li style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><isindex></code></span></li> </ul> <span id="J" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">J K</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><kbd></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><keygen></code></li> </ul> <span id="L" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">L</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><label></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><legend></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><li></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><link></code></li> <li style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><listing></code></span></li> </ul> <span id="M" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">M</span> <ul style="border:0px;list-style:none;"> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><main></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><map></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><mark></code></li> <li style="border:0px;"><span class="nonStdElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><marquee></code></span></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><menu></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><meta></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><meter></code></li> </ul> <span id="N" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">N</span> <ul style="border:0px;list-style:none;"> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><nav></code></li> <li style="border:0px;"><span class="nonStdElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><nobr></code></span></li> <li style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><noframes></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><noscript></code></li> </ul> <span id="O" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">O</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><object></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><ol></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><optgroup></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><option></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><output></code></li> </ul> <span id="P" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">P</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><p></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><param></code></li> <li style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><plaintext></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><pre></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><progress></code></li> </ul> <span id="Q" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">Q</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><q></code></li> </ul> <span id="R" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">R</span> <ul style="border:0px;list-style:none;"> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><rp></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><rt></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><ruby></code></li> </ul> <span id="S" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">S</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><s></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><samp></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><script></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><section></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><select></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><small></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><source></code></li> <li style="border:0px;"><span class="nonStdElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><spacer></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><span></code></li> <li style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><strike></code></span></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><strong></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><style></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><sub></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><summary></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><sup></code></li> </ul> <span id="T" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">T</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><table></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><tbody></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><td></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><textarea></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><tfoot></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><th></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><thead></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><time></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><title></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><tr></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><track></code></li> <li style="border:0px;"><span class="obsoleteElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><tt></code></span></li> </ul> <span id="U" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">U</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><u></code></li> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><ul></code></li> </ul> <span id="V" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">V</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><var></code></li> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><video></code></li> </ul> <span id="W" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">W</span> <ul style="border:0px;list-style:none;"> <li class="html5" style="border:0px;background-image:url("https://developer.mozilla.org/files/3855/HTML5_Badge_16.png");background-position:0% 4px;background-repeat:no-repeat;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><wbr></code></li> </ul> <span id="X" style="border:0px;font-family:Georgia, Times, 'Times New Roman', serif;font-size:1.6em;">X Y Z</span> <ul style="border:0px;list-style:none;"> <li style="border:0px;"><span style="border:0px;"><span class="obsoleteElement deprecatedElement" style="opacity:.3;"><code style="border:0px;font-style:inherit;font-weight:inherit;font-family:'Courier New', 'Andale Mono', monospace;"><xmp></code></span></span></li> </ul> </div> <p style="border:0px;">这个标志 <img alt="This element has been added in HTML5" src="http://img.e-com-net.com/image/info8/811db55abf894c248ee5459fe4ef552c.jpg" title="This element has been added in HTML5" style="border:0px;width:16px;vertical-align:middle;" width="32" height="32">表明该元素已经添加在HTML5。注意,这里列出的其他元素可能被修改或延长HTML5规范。变暗元素是不标准的,过时的,或不赞成的,他们不能被用在新的网站,应该逐渐被删除从已有的以避免不必要的结果。</p> <h3 style="border:0px;font-weight:200;line-height:24px;letter-spacing:-.5px;"><span class="icon-paperclip" style="border:0px;display:inline-block;font-family:FontAwesome;line-height:1;margin-left:0px !important;"></span>附件 <span class="icon-question-sign editor-help-icon" style="border:0px;display:inline-block;font-family:FontAwesome;line-height:1;margin-left:0px !important;"></span></h3> <table id="page-attachments-table" style="border-width:1px 0px 0px 1px;border-top-style:solid;border-left-style:solid;border-top-color:rgb(224,224,220);border-left-color:rgb(224,224,220);border-collapse:collapse;"> <thead style="border:0px;"> <tr style="border:0px;"> <th style="border-width:0px 1px 1px 0px;border-style:solid;border-color:rgb(224,224,220);font-style:inherit;vertical-align:top;color:rgb(102,102,102);background:rgba(212,221,228,.498039);">文件</th> <th style="border-width:0px 1px 1px 0px;border-style:solid;border-color:rgb(224,224,220);font-style:inherit;vertical-align:top;color:rgb(102,102,102);background:rgba(212,221,228,.498039);">大小</th> <th style="border-width:0px 1px 1px 0px;border-style:solid;border-color:rgb(224,224,220);font-style:inherit;vertical-align:top;color:rgb(102,102,102);background:rgba(212,221,228,.498039);">日期</th> <th style="border-width:0px 1px 1px 0px;border-style:solid;border-color:rgb(224,224,220);font-style:inherit;vertical-align:top;color:rgb(102,102,102);background:rgba(212,221,228,.498039);">附加者为</th> </tr> </thead> <tbody style="border:0px;"> <tr style="border:0px;"> <td class="attachment-name-cell" style="border-width:0px 1px 1px 0px;border-style:solid;border-color:rgb(224,224,220);vertical-align:top;width:508px;">HTML5_tiny_logo <div class="attachment-description" style="border:0px;font-style:italic;"></div></td> <td style="border-width:0px 1px 1px 0px;border-style:solid;border-color:rgb(224,224,220);vertical-align:top;">811 字节</td> <td style="border-width:0px 1px 1px 0px;border-style:solid;border-color:rgb(224,224,220);vertical-align:top;">2012-08-23 07:07:19</td> <td style="border-width:0px 1px 1px 0px;border-style:solid;border-color:rgb(224,224,220);vertical-align:top;">teoli</td> </tr> </tbody> </table> <div class="wiki-block contributors" style="border-width:1px 0px 0px;border-top-style:solid;border-top-color:rgb(234,239,242);clear:both;color:rgb(119,119,119);"> <h2 class="offscreen" style="border:0px;line-height:30px;letter-spacing:-1px;overflow:hidden;width:1px;">文档标签和贡献者</h2> <div class="contributor-sub" style="border:0px;"> <span class="icon-group" style="border:0px;display:inline-block;font-family:FontAwesome;line-height:1;"></span> <span style="border:0px;">对本页有贡献的人:</span>  Cnmahj,  ziyunfei,  gqqnbig,  teoli,  xcffl,  jessiecaisme </div> <div class="contributor-sub" style="border:0px;"> <span class="icon-clock-o" style="border:0px;display:inline-block;font-family:FontAwesome;line-height:1;"></span> <span style="border:0px;">最后编辑者:</span>  ziyunfei, May 9, 2014 4:20:52 AM </div> </div> </div> </div> </div> <br> <p><br></p> <p><br></p> <p><br></p> </div> </div> </div> </div> </div> <!--PC和WAP自适应版--> <div id="SOHUCS" sid="1287957250442309632"></div> <script type="text/javascript" src="/views/front/js/chanyan.js"></script> <!-- 文章页-底部 动态广告位 --> <div class="youdao-fixed-ad" id="detail_ad_bottom"></div> </div> <div class="col-md-3"> <div class="row" id="ad"> <!-- 文章页-右侧1 动态广告位 --> <div id="right-1" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad"> <div class="youdao-fixed-ad" id="detail_ad_1"> </div> </div> <!-- 文章页-右侧2 动态广告位 --> <div id="right-2" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad"> <div class="youdao-fixed-ad" id="detail_ad_2"></div> </div> <!-- 文章页-右侧3 动态广告位 --> <div id="right-3" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad"> <div class="youdao-fixed-ad" id="detail_ad_3"></div> </div> </div> </div> </div> </div> </div> <div class="container"> <h4 class="pt20 mb15 mt0 border-top">你可能感兴趣的:(<=即时总结=>,语言-JavaScript,平台-Html5)</h4> <div id="paradigm-article-related"> <div class="recommend-post mb30"> <ul class="widget-links"> <li><a href="/article/1835513551142350848.htm" title="OC语言多界面传值五大方式" target="_blank">OC语言多界面传值五大方式</a> <span class="text-muted">Magnetic_h</span> <a class="tag" taget="_blank" href="/search/ios/1.htm">ios</a><a class="tag" taget="_blank" href="/search/ui/1.htm">ui</a><a class="tag" taget="_blank" href="/search/%E5%AD%A6%E4%B9%A0/1.htm">学习</a><a class="tag" taget="_blank" href="/search/objective-c/1.htm">objective-c</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>前言在完成暑假仿写项目时,遇到了许多需要用到多界面传值的地方,这篇博客来总结一下比较常用的五种多界面传值的方式。属性传值属性传值一般用前一个界面向后一个界面传值,简单地说就是通过访问后一个视图控制器的属性来为它赋值,通过这个属性来做到从前一个界面向后一个界面传值。首先在后一个界面中定义属性@interfaceBViewController:UIViewController@propertyNSSt</div> </li> <li><a href="/article/1835512542735200256.htm" title="C语言宏函数" target="_blank">C语言宏函数</a> <span class="text-muted">南林yan</span> <a class="tag" taget="_blank" href="/search/C%E8%AF%AD%E8%A8%80/1.htm">C语言</a><a class="tag" taget="_blank" href="/search/c%E8%AF%AD%E8%A8%80/1.htm">c语言</a> <div>一、什么是宏函数?通过宏定义的函数是宏函数。如下,编译器在预处理阶段会将Add(x,y)替换为((x)*(y))#defineAdd(x,y)((x)*(y))#defineAdd(x,y)((x)*(y))intmain(){inta=10;intb=20;intd=10;intc=Add(a+d,b)*2;cout<<c<<endl;//800return0;}二、为什么要使用宏函数使用宏函数</div> </li> <li><a href="/article/1835511911769272320.htm" title="C语言如何定义宏函数?" target="_blank">C语言如何定义宏函数?</a> <span class="text-muted">小九格物</span> <a class="tag" taget="_blank" href="/search/c%E8%AF%AD%E8%A8%80/1.htm">c语言</a> <div>在C语言中,宏函数是通过预处理器定义的,它在编译之前替换代码中的宏调用。宏函数可以模拟函数的行为,但它们不是真正的函数,因为它们在编译时不会进行类型检查,也不会分配存储空间。宏函数的定义通常使用#define指令,后面跟着宏的名称和参数列表,以及宏展开后的代码。宏函数的定义方式:1.基本宏函数:这是最简单的宏函数形式,它直接定义一个表达式。#defineSQUARE(x)((x)*(x))2.带参</div> </li> <li><a href="/article/1835511030260789248.htm" title="c++ 的iostream 和 c++的stdio的区别和联系" target="_blank">c++ 的iostream 和 c++的stdio的区别和联系</a> <span class="text-muted">黄卷青灯77</span> <a class="tag" taget="_blank" href="/search/c%2B%2B/1.htm">c++</a><a class="tag" taget="_blank" href="/search/%E7%AE%97%E6%B3%95/1.htm">算法</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a><a class="tag" taget="_blank" href="/search/iostream/1.htm">iostream</a><a class="tag" taget="_blank" href="/search/stdio/1.htm">stdio</a> <div>在C++中,iostream和C语言的stdio.h都是用于处理输入输出的库,但它们在设计、用法和功能上有许多不同。以下是两者的区别和联系:区别1.编程风格iostream(C++风格):C++标准库中的输入输出流类库,支持面向对象的输入输出操作。典型用法是cin(输入)和cout(输出),使用>操作符来处理数据。更加类型安全,支持用户自定义类型的输入输出。#includeintmain(){in</div> </li> <li><a href="/article/1835509897106649088.htm" title="Long类型前后端数据不一致" target="_blank">Long类型前后端数据不一致</a> <span class="text-muted">igotyback</span> <a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a> <div>响应给前端的数据浏览器控制台中response中看到的Long类型的数据是正常的到前端数据不一致前后端数据类型不匹配是一个常见问题,尤其是当后端使用Java的Long类型(64位)与前端JavaScript的Number类型(最大安全整数为2^53-1,即16位)进行数据交互时,很容易出现精度丢失的问题。这是因为JavaScript中的Number类型无法安全地表示超过16位的整数。为了解决这个问</div> </li> <li><a href="/article/1835508761310097408.htm" title="店群合一模式下的社区团购新发展——结合链动 2+1 模式、AI 智能名片与 S2B2C 商城小程序源码" target="_blank">店群合一模式下的社区团购新发展——结合链动 2+1 模式、AI 智能名片与 S2B2C 商城小程序源码</a> <span class="text-muted">说私域</span> <a class="tag" taget="_blank" href="/search/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/1.htm">人工智能</a><a class="tag" taget="_blank" href="/search/%E5%B0%8F%E7%A8%8B%E5%BA%8F/1.htm">小程序</a> <div>摘要:本文探讨了店群合一的社区团购平台在当今商业环境中的重要性和优势。通过分析店群合一模式如何将互联网社群与线下终端紧密结合,阐述了链动2+1模式、AI智能名片和S2B2C商城小程序源码在这一模式中的应用价值。这些创新元素的结合为社区团购带来了新的机遇,提升了用户信任感、拓展了营销渠道,并实现了线上线下的完美融合。一、引言随着互联网技术的不断发展,社区团购作为一种新兴的商业模式,在满足消费者日常需</div> </li> <li><a href="/article/1835508122383380480.htm" title="抖音乐买买怎么加入赚钱?赚钱方法是什么" target="_blank">抖音乐买买怎么加入赚钱?赚钱方法是什么</a> <span class="text-muted">测评君高省</span> <div>你会在抖音买东西吗?如果会,那么一定要免费注册一个乐买买,抖音直播间,橱窗,小视频里的小黄车买东西都可以返佣金!省下来都是自己的,分享还可以赚钱乐买买是好省旗下的抖音返佣平台,乐买买分析社交电商的价值,乐买买属于今年难得的副业项目风口机会,2019年错过做好省的搞钱的黄金时期,那么2022年千万别再错过乐买买至于我为何转到高省呢?当然是高省APP佣金更高,模式更好,终端用户不流失。【高省】是一个自</div> </li> <li><a href="/article/1835507626276909056.htm" title="水平垂直居中的几种方法(总结)" target="_blank">水平垂直居中的几种方法(总结)</a> <span class="text-muted">LJ小番茄</span> <a class="tag" taget="_blank" href="/search/CSS_%E7%8E%84%E5%AD%A6%E8%AF%AD%E8%A8%80/1.htm">CSS_玄学语言</a><a class="tag" taget="_blank" href="/search/html/1.htm">html</a><a class="tag" taget="_blank" href="/search/javascript/1.htm">javascript</a><a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a><a class="tag" taget="_blank" href="/search/css/1.htm">css</a><a class="tag" taget="_blank" href="/search/css3/1.htm">css3</a> <div>1.使用flexbox的justify-content和align-items.parent{display:flex;justify-content:center;/*水平居中*/align-items:center;/*垂直居中*/height:100vh;/*需要指定高度*/}2.使用grid的place-items:center.parent{display:grid;place-item</div> </li> <li><a href="/article/1835507248395284480.htm" title="【一起学Rust | 设计模式】习惯语法——使用借用类型作为参数、格式化拼接字符串、构造函数" target="_blank">【一起学Rust | 设计模式】习惯语法——使用借用类型作为参数、格式化拼接字符串、构造函数</a> <span class="text-muted">广龙宇</span> <a class="tag" taget="_blank" href="/search/%E4%B8%80%E8%B5%B7%E5%AD%A6Rust/1.htm">一起学Rust</a><a class="tag" taget="_blank" href="/search/%23/1.htm">#</a><a class="tag" taget="_blank" href="/search/Rust%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1.htm">Rust设计模式</a><a class="tag" taget="_blank" href="/search/rust/1.htm">rust</a><a class="tag" taget="_blank" href="/search/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1.htm">设计模式</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录前言一、使用借用类型作为参数二、格式化拼接字符串三、使用构造函数总结前言Rust不是传统的面向对象编程语言,它的所有特性,使其独一无二。因此,学习特定于Rust的设计模式是必要的。本系列文章为作者学习《Rust设计模式》的学习笔记以及自己的见解。因此,本系列文章的结构也与此书的结构相同(后续可能会调成结构),基本上分为三个部分</div> </li> <li><a href="/article/1835506869838376960.htm" title="Python数据分析与可视化实战指南" target="_blank">Python数据分析与可视化实战指南</a> <span class="text-muted">William数据分析</span> <a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE/1.htm">数据</a> <div>在数据驱动的时代,Python因其简洁的语法、强大的库生态系统以及活跃的社区,成为了数据分析与可视化的首选语言。本文将通过一个详细的案例,带领大家学习如何使用Python进行数据分析,并通过可视化来直观呈现分析结果。一、环境准备1.1安装必要库在开始数据分析和可视化之前,我们需要安装一些常用的库。主要包括pandas、numpy、matplotlib和seaborn等。这些库分别用于数据处理、数学</div> </li> <li><a href="/article/1835506084224266240.htm" title="网易严选官方旗舰店,优质商品,卓越服务" target="_blank">网易严选官方旗舰店,优质商品,卓越服务</a> <span class="text-muted">高省_飞智666600</span> <div>网易严选官方旗舰店是网易旗下的一家电商平台,以提供优质商品和卓越服务而闻名。作为一名SEO优化师,我将为您详细介绍网易严选官方旗舰店,并重点强调其特点和优势。大家好!我是高省APP最大团队&联合创始人飞智导师。相较于其他返利app,高省APP的佣金更高,模式更好,最重要的是,终端用户不会流失!高省APP佣金更高,模式更好,终端用户不流失。【高省】是一个自用省钱佣金高,分享推广赚钱多的平台,百度有几</div> </li> <li><a href="/article/1835505228137459712.htm" title="腾讯云技术深度探索:构建高效云原生微服务架构" target="_blank">腾讯云技术深度探索:构建高效云原生微服务架构</a> <span class="text-muted">我的运维人生</span> <a class="tag" taget="_blank" href="/search/%E4%BA%91%E5%8E%9F%E7%94%9F/1.htm">云原生</a><a class="tag" taget="_blank" href="/search/%E6%9E%B6%E6%9E%84/1.htm">架构</a><a class="tag" taget="_blank" href="/search/%E8%85%BE%E8%AE%AF%E4%BA%91/1.htm">腾讯云</a><a class="tag" taget="_blank" href="/search/%E8%BF%90%E7%BB%B4%E5%BC%80%E5%8F%91/1.htm">运维开发</a><a class="tag" taget="_blank" href="/search/%E6%8A%80%E6%9C%AF%E5%85%B1%E4%BA%AB/1.htm">技术共享</a> <div>腾讯云技术深度探索:构建高效云原生微服务架构在当今快速发展的技术环境中,云原生技术已成为企业数字化转型的关键驱动力。腾讯云作为行业领先的云服务提供商,不断推出创新的产品和技术,助力企业构建高效、可扩展的云原生微服务架构。本文将深入探讨腾讯云在微服务领域的最新进展,并通过一个实际案例展示如何在腾讯云平台上构建云原生应用。腾讯云微服务架构概览腾讯云微服务架构基于云原生理念,旨在帮助企业快速实现应用的容</div> </li> <li><a href="/article/1835502705553010688.htm" title="LLM 词汇表" target="_blank">LLM 词汇表</a> <span class="text-muted">落难Coder</span> <a class="tag" taget="_blank" href="/search/LLMs/1.htm">LLMs</a><a class="tag" taget="_blank" href="/search/NLP/1.htm">NLP</a><a class="tag" taget="_blank" href="/search/%E5%A4%A7%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B/1.htm">大语言模型</a><a class="tag" taget="_blank" href="/search/%E5%A4%A7%E6%A8%A1%E5%9E%8B/1.htm">大模型</a><a class="tag" taget="_blank" href="/search/llama/1.htm">llama</a><a class="tag" taget="_blank" href="/search/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/1.htm">人工智能</a> <div>Contextwindow“上下文窗口”是指语言模型在生成新文本时能够回溯和参考的文本量。这不同于语言模型训练时所使用的大量数据集,而是代表了模型的“工作记忆”。较大的上下文窗口可以让模型理解和响应更复杂和更长的提示,而较小的上下文窗口可能会限制模型处理较长提示或在长时间对话中保持连贯性的能力。Fine-tuning微调是使用额外的数据进一步训练预训练语言模型的过程。这使得模型开始表示和模仿微调数</div> </li> <li><a href="/article/1835502578050363392.htm" title="PHP环境搭建详细教程" target="_blank">PHP环境搭建详细教程</a> <span class="text-muted">好看资源平台</span> <a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a><a class="tag" taget="_blank" href="/search/php/1.htm">php</a> <div>PHP是一个流行的服务器端脚本语言,广泛用于Web开发。为了使PHP能够在本地或服务器上运行,我们需要搭建一个合适的PHP环境。本教程将结合最新资料,介绍在不同操作系统上搭建PHP开发环境的多种方法,包括Windows、macOS和Linux系统的安装步骤,以及本地和Docker环境的配置。1.PHP环境搭建概述PHP环境的搭建主要分为以下几类:集成开发环境:例如XAMPP、WAMP、MAMP,这</div> </li> <li><a href="/article/1835501821569888256.htm" title="关于提高复杂业务逻辑代码可读性的思考" target="_blank">关于提高复杂业务逻辑代码可读性的思考</a> <span class="text-muted">编程经验分享</span> <a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E7%BB%8F%E9%AA%8C/1.htm">开发经验</a><a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>目录前言需求场景常规写法拆分方法领域对象总结前言实际工作中大部分时间都是在写业务逻辑,一般都是三层架构,表示层(Controller)接收客户端请求,并对入参做检验,业务逻辑层(Service)负责处理业务逻辑,一般开发都是在这一层中写具体的业务逻辑。数据访问层(Dao)是直接和数据库交互的,用于查数据给业务逻辑层,或者是将业务逻辑层处理后的数据写入数据库。简单的增删改查接口不用多说,基本上写好一</div> </li> <li><a href="/article/1835500750684385280.htm" title="拥有断舍离的心态,过精简生活--《断舍离》读书笔记" target="_blank">拥有断舍离的心态,过精简生活--《断舍离》读书笔记</a> <span class="text-muted">爱吃丸子的小樱桃</span> <div>不知不觉间房间里的东西越来越多,虽然摆放整齐,但也时常会觉得空间逼仄,令人心生烦闷。抱着断舍离的态度,我开始阅读《断舍离》这本书,希望从书中能找到一些有效的方法,帮助我实现空间、物品上的断舍离。《断舍离》是日本作家山下英子通过自己的经历、思考和实践总结而成的,整体内涵也从刚开始的私人生活哲学的“断舍离”升华成了“人生实践哲学”,接着又成为每个人都能实行的“改变人生的断舍离”,从“哲学”逐渐升华成“</div> </li> <li><a href="/article/1835500751997202432.htm" title="直返最高等级与直返APP:无需邀请码的返利新体验" target="_blank">直返最高等级与直返APP:无需邀请码的返利新体验</a> <span class="text-muted">古楼</span> <div>随着互联网的普及和电商的兴起,直返模式逐渐成为一种流行的商业模式。在这种模式下,消费者通过购买产品或服务,获得一定的返利,并可以分享给更多的人。其中,直返最高等级和直返APP是直返模式中的重要概念和工具。本文将详细介绍直返最高等级的概念、直返APP的使用以及与邀请码的关系。【高省】APP(高佣金领导者)是一个自用省钱佣金高,分享推广赚钱多的平台,百度有几百万篇报道,运行三年,稳定可靠。高省APP,</div> </li> <li><a href="/article/1835498925755297792.htm" title="DIV+CSS+JavaScript技术制作网页(旅游主题网页设计与制作)云南大理" target="_blank">DIV+CSS+JavaScript技术制作网页(旅游主题网页设计与制作)云南大理</a> <span class="text-muted">STU学生网页设计</span> <a class="tag" taget="_blank" href="/search/%E7%BD%91%E9%A1%B5%E8%AE%BE%E8%AE%A1/1.htm">网页设计</a><a class="tag" taget="_blank" href="/search/%E6%9C%9F%E6%9C%AB%E7%BD%91%E9%A1%B5%E4%BD%9C%E4%B8%9A/1.htm">期末网页作业</a><a class="tag" taget="_blank" href="/search/html%E9%9D%99%E6%80%81%E7%BD%91%E9%A1%B5/1.htm">html静态网页</a><a class="tag" taget="_blank" href="/search/html5%E6%9C%9F%E6%9C%AB%E5%A4%A7%E4%BD%9C%E4%B8%9A/1.htm">html5期末大作业</a><a class="tag" taget="_blank" href="/search/%E7%BD%91%E9%A1%B5%E8%AE%BE%E8%AE%A1/1.htm">网页设计</a><a class="tag" taget="_blank" href="/search/web%E5%A4%A7%E4%BD%9C%E4%B8%9A/1.htm">web大作业</a> <div>️精彩专栏推荐作者主页:【进入主页—获取更多源码】web前端期末大作业:【HTML5网页期末作业(1000套)】程序员有趣的告白方式:【HTML七夕情人节表白网页制作(110套)】文章目录二、网站介绍三、网站效果▶️1.视频演示2.图片演示四、网站代码HTML结构代码CSS样式代码五、更多源码二、网站介绍网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。网站程</div> </li> <li><a href="/article/1835498547785592832.htm" title="【华为OD机试真题2023B卷 JAVA&JS】We Are A Team" target="_blank">【华为OD机试真题2023B卷 JAVA&JS】We Are A Team</a> <span class="text-muted">若博豆</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E7%AE%97%E6%B3%95/1.htm">算法</a><a class="tag" taget="_blank" href="/search/%E5%8D%8E%E4%B8%BA/1.htm">华为</a><a class="tag" taget="_blank" href="/search/javascript/1.htm">javascript</a> <div>华为OD2023(B卷)机试题库全覆盖,刷题指南点这里WeAreATeam时间限制:1秒|内存限制:32768K|语言限制:不限题目描述:总共有n个人在机房,每个人有一个标号(1<=标号<=n),他们分成了多个团队,需要你根据收到的m条消息判定指定的两个人是否在一个团队中,具体的:1、消息构成为:abc,整数a、b分别代</div> </li> <li><a href="/article/1835497664381284352.htm" title="探索OpenAI和LangChain的适配器集成:轻松切换模型提供商" target="_blank">探索OpenAI和LangChain的适配器集成:轻松切换模型提供商</a> <span class="text-muted">nseejrukjhad</span> <a class="tag" taget="_blank" href="/search/langchain/1.htm">langchain</a><a class="tag" taget="_blank" href="/search/easyui/1.htm">easyui</a><a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a> <div>#探索OpenAI和LangChain的适配器集成:轻松切换模型提供商##引言在人工智能和自然语言处理的世界中,OpenAI的模型提供了强大的能力。然而,随着技术的发展,许多人开始探索其他模型以满足特定需求。LangChain作为一个强大的工具,集成了多种模型提供商,通过提供适配器,简化了不同模型之间的转换。本篇文章将介绍如何使用LangChain的适配器与OpenAI集成,以便轻松切换模型提供商</div> </li> <li><a href="/article/1835497538023682048.htm" title="使用Apify加载Twitter消息以进行微调的完整指南" target="_blank">使用Apify加载Twitter消息以进行微调的完整指南</a> <span class="text-muted">nseejrukjhad</span> <a class="tag" taget="_blank" href="/search/twitter/1.htm">twitter</a><a class="tag" taget="_blank" href="/search/easyui/1.htm">easyui</a><a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a> <div>#使用Apify加载Twitter消息以进行微调的完整指南##引言在自然语言处理领域,微调模型以适应特定任务是提升模型性能的常见方法。本文将介绍如何使用Apify从Twitter导出聊天信息,以便进一步进行微调。##主要内容###使用Apify导出推文首先,我们需要从Twitter导出推文。Apify可以帮助我们做到这一点。通过Apify的强大功能,我们可以批量抓取和导出数据,适用于各类应用场景。</div> </li> <li><a href="/article/1835497411179540480.htm" title="深入理解 MultiQueryRetriever:提升向量数据库检索效果的强大工具" target="_blank">深入理解 MultiQueryRetriever:提升向量数据库检索效果的强大工具</a> <span class="text-muted">nseejrukjhad</span> <a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a> <div>深入理解MultiQueryRetriever:提升向量数据库检索效果的强大工具引言在人工智能和自然语言处理领域,高效准确的信息检索一直是一个关键挑战。传统的基于距离的向量数据库检索方法虽然广泛应用,但仍存在一些局限性。本文将介绍一种创新的解决方案:MultiQueryRetriever,它通过自动生成多个查询视角来增强检索效果,提高结果的相关性和多样性。MultiQueryRetriever的工</div> </li> <li><a href="/article/1835497283932745728.htm" title="利用LangChain的StackExchange组件实现智能问答系统" target="_blank">利用LangChain的StackExchange组件实现智能问答系统</a> <span class="text-muted">nseejrukjhad</span> <a class="tag" taget="_blank" href="/search/langchain/1.htm">langchain</a><a class="tag" taget="_blank" href="/search/microsoft/1.htm">microsoft</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a> <div>利用LangChain的StackExchange组件实现智能问答系统引言在当今的软件开发世界中,StackOverflow已经成为程序员解决问题的首选平台之一。而LangChain作为一个强大的AI应用开发框架,提供了StackExchange组件,使我们能够轻松地将StackOverflow的海量知识库集成到我们的应用中。本文将详细介绍如何使用LangChain的StackExchange组件</div> </li> <li><a href="/article/1835497284750635008.htm" title="如何部分格式化提示模板:LangChain中的高级技巧" target="_blank">如何部分格式化提示模板:LangChain中的高级技巧</a> <span class="text-muted">nseejrukjhad</span> <a class="tag" taget="_blank" href="/search/langchain/1.htm">langchain</a><a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E6%9C%8D%E5%8A%A1%E5%99%A8/1.htm">服务器</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a> <div>标题:如何部分格式化提示模板:LangChain中的高级技巧内容:如何部分格式化提示模板:LangChain中的高级技巧引言在使用大型语言模型(LLM)时,提示工程是一个关键环节。LangChain提供了强大的提示模板功能,让我们能更灵活地构建和管理提示。本文将介绍LangChain中一个高级特性-部分格式化提示模板,这个技巧可以让你的提示管理更加高效和灵活。什么是部分格式化提示模板?部分格式化提</div> </li> <li><a href="/article/1835496780066811904.htm" title="在一台Ubuntu计算机上构建Hyperledger Fabric网络" target="_blank">在一台Ubuntu计算机上构建Hyperledger Fabric网络</a> <span class="text-muted">落叶无声9</span> <a class="tag" taget="_blank" href="/search/%E5%8C%BA%E5%9D%97%E9%93%BE/1.htm">区块链</a><a class="tag" taget="_blank" href="/search/%E8%B6%85%E7%BA%A7%E8%B4%A6%E6%9C%AC/1.htm">超级账本</a><a class="tag" taget="_blank" href="/search/Hyperledger/1.htm">Hyperledger</a><a class="tag" taget="_blank" href="/search/fabric/1.htm">fabric</a><a class="tag" taget="_blank" href="/search/%E5%8C%BA%E5%9D%97%E9%93%BE/1.htm">区块链</a><a class="tag" taget="_blank" href="/search/ubuntu/1.htm">ubuntu</a><a class="tag" taget="_blank" href="/search/%E6%9E%84%E5%BB%BA/1.htm">构建</a><a class="tag" taget="_blank" href="/search/hyperledger/1.htm">hyperledger</a><a class="tag" taget="_blank" href="/search/fabric/1.htm">fabric</a> <div>在一台Ubuntu计算机上构建HyperledgerFabric网络Hyperledgerfabric是一个开源的区块链应用程序平台,为开发基于区块链的应用程序提供了一个起点。当我们提到HyperledgerFabric网络时,我们指的是使用HyperledgerFabric的正在运行的系统。即使只使用最少数量的组件,部署Fabric网络也不是一件容易的事。Fabric社区创建了一个名为Cello</div> </li> <li><a href="/article/1835496149843275776.htm" title="关于城市旅游的HTML网页设计——(旅游风景云南 5页)HTML+CSS+JavaScript" target="_blank">关于城市旅游的HTML网页设计——(旅游风景云南 5页)HTML+CSS+JavaScript</a> <span class="text-muted">二挡起步</span> <a class="tag" taget="_blank" href="/search/web%E5%89%8D%E7%AB%AF%E6%9C%9F%E6%9C%AB%E5%A4%A7%E4%BD%9C%E4%B8%9A/1.htm">web前端期末大作业</a><a class="tag" taget="_blank" href="/search/javascript/1.htm">javascript</a><a class="tag" taget="_blank" href="/search/html/1.htm">html</a><a class="tag" taget="_blank" href="/search/css/1.htm">css</a><a class="tag" taget="_blank" href="/search/%E6%97%85%E6%B8%B8/1.htm">旅游</a><a class="tag" taget="_blank" href="/search/%E9%A3%8E%E6%99%AF/1.htm">风景</a> <div>⛵源码获取文末联系✈Web前端开发技术描述网页设计题材,DIV+CSS布局制作,HTML+CSS网页设计期末课程大作业|游景点介绍|旅游风景区|家乡介绍|等网站的设计与制作|HTML期末大学生网页设计作业,Web大学生网页HTML:结构CSS:样式在操作方面上运用了html5和css3,采用了div+css结构、表单、超链接、浮动、绝对定位、相对定位、字体样式、引用视频等基础知识JavaScrip</div> </li> <li><a href="/article/1835496148601761792.htm" title="HTML网页设计制作大作业(div+css) 云南我的家乡旅游景点 带文字滚动" target="_blank">HTML网页设计制作大作业(div+css) 云南我的家乡旅游景点 带文字滚动</a> <span class="text-muted">二挡起步</span> <a class="tag" taget="_blank" href="/search/web%E5%89%8D%E7%AB%AF%E6%9C%9F%E6%9C%AB%E5%A4%A7%E4%BD%9C%E4%B8%9A/1.htm">web前端期末大作业</a><a class="tag" taget="_blank" href="/search/web%E8%AE%BE%E8%AE%A1%E7%BD%91%E9%A1%B5%E8%A7%84%E5%88%92%E4%B8%8E%E8%AE%BE%E8%AE%A1/1.htm">web设计网页规划与设计</a><a class="tag" taget="_blank" href="/search/html/1.htm">html</a><a class="tag" taget="_blank" href="/search/css/1.htm">css</a><a class="tag" taget="_blank" href="/search/javascript/1.htm">javascript</a><a class="tag" taget="_blank" href="/search/dreamweaver/1.htm">dreamweaver</a><a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a> <div>Web前端开发技术描述网页设计题材,DIV+CSS布局制作,HTML+CSS网页设计期末课程大作业游景点介绍|旅游风景区|家乡介绍|等网站的设计与制作HTML期末大学生网页设计作业HTML:结构CSS:样式在操作方面上运用了html5和css3,采用了div+css结构、表单、超链接、浮动、绝对定位、相对定位、字体样式、引用视频等基础知识JavaScript:做与用户的交互行为文章目录前端学习路线</div> </li> <li><a href="/article/1835495644123459584.htm" title="Day1笔记-Python简介&标识符和关键字&输入输出" target="_blank">Day1笔记-Python简介&标识符和关键字&输入输出</a> <span class="text-muted">~在杰难逃~</span> <a class="tag" taget="_blank" href="/search/Python/1.htm">Python</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a><a class="tag" taget="_blank" href="/search/%E5%A4%A7%E6%95%B0%E6%8D%AE/1.htm">大数据</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90/1.htm">数据分析</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E6%8C%96%E6%8E%98/1.htm">数据挖掘</a> <div>大家好,从今天开始呢,杰哥开展一个新的专栏,当然,数据分析部分也会不定时更新的,这个新的专栏主要是讲解一些Python的基础语法和知识,帮助0基础的小伙伴入门和学习Python,感兴趣的小伙伴可以开始认真学习啦!一、Python简介【了解】1.计算机工作原理编程语言就是用来定义计算机程序的形式语言。我们通过编程语言来编写程序代码,再通过语言处理程序执行向计算机发送指令,让计算机完成对应的工作,编程</div> </li> <li><a href="/article/1835494131535802368.htm" title="人工智能时代,程序员如何保持核心竞争力?" target="_blank">人工智能时代,程序员如何保持核心竞争力?</a> <span class="text-muted">jmoych</span> <a class="tag" taget="_blank" href="/search/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/1.htm">人工智能</a> <div>随着AIGC(如chatgpt、midjourney、claude等)大语言模型接二连三的涌现,AI辅助编程工具日益普及,程序员的工作方式正在发生深刻变革。有人担心AI可能取代部分编程工作,也有人认为AI是提高效率的得力助手。面对这一趋势,程序员应该如何应对?是专注于某个领域深耕细作,还是广泛学习以适应快速变化的技术环境?又或者,我们是否应该将重点转向AI无法轻易替代的软技能?让我们一起探讨程序员</div> </li> <li><a href="/article/1835493753557708800.htm" title="每日算法&面试题,大厂特训二十八天——第二十天(树)" target="_blank">每日算法&面试题,大厂特训二十八天——第二十天(树)</a> <span class="text-muted">肥学</span> <a class="tag" taget="_blank" href="/search/%E2%9A%A1%E7%AE%97%E6%B3%95%E9%A2%98%E2%9A%A1%E9%9D%A2%E8%AF%95%E9%A2%98%E6%AF%8F%E6%97%A5%E7%B2%BE%E8%BF%9B/1.htm">⚡算法题⚡面试题每日精进</a><a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E7%AE%97%E6%B3%95/1.htm">算法</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/1.htm">数据结构</a> <div>目录标题导读算法特训二十八天面试题点击直接资料领取导读肥友们为了更好的去帮助新同学适应算法和面试题,最近我们开始进行专项突击一步一步来。上一期我们完成了动态规划二十一天现在我们进行下一项对各类算法进行二十八天的一个小总结。还在等什么快来一起肥学进行二十八天挑战吧!!特别介绍小白练手专栏,适合刚入手的新人欢迎订阅编程小白进阶python有趣练手项目里面包括了像《机器人尬聊》《恶搞程序》这样的有趣文章</div> </li> <li><a href="/article/75.htm" title="knob UI插件使用" target="_blank">knob UI插件使用</a> <span class="text-muted">换个号韩国红果果</span> <a class="tag" taget="_blank" href="/search/JavaScript/1.htm">JavaScript</a><a class="tag" taget="_blank" href="/search/jsonp/1.htm">jsonp</a><a class="tag" taget="_blank" href="/search/knob/1.htm">knob</a> <div>图形是用canvas绘制的 js代码 var paras = { max:800, min:100, skin:'tron',//button type thickness:.3,//button width width:'200',//define canvas width.,canvas height displayInput:'tr</div> </li> <li><a href="/article/202.htm" title="Android+Jquery Mobile学习系列(5)-SQLite数据库" target="_blank">Android+Jquery Mobile学习系列(5)-SQLite数据库</a> <span class="text-muted">白糖_</span> <a class="tag" taget="_blank" href="/search/JQuery+Mobile/1.htm">JQuery Mobile</a> <div>目录导航   SQLite是轻量级的、嵌入式的、关系型数据库,目前已经在iPhone、Android等手机系统中使用,SQLite可移植性好,很容易使用,很小,高效而且可靠。   因为Android已经集成了SQLite,所以开发人员无需引入任何JAR包,而且Android也针对SQLite封装了专属的API,调用起来非常快捷方便。   我也是第一次接触S</div> </li> <li><a href="/article/329.htm" title="impala-2.1.2-CDH5.3.2" target="_blank">impala-2.1.2-CDH5.3.2</a> <span class="text-muted">dayutianfei</span> <a class="tag" taget="_blank" href="/search/impala/1.htm">impala</a> <div>最近在整理impala编译的东西,简单记录几个要点: 根据官网的信息(https://github.com/cloudera/Impala/wiki/How-to-build-Impala): 1. 首次编译impala,推荐使用命令: ${IMPALA_HOME}/buildall.sh -skiptests -build_shared_libs -format 2.仅编译BE ${I</div> </li> <li><a href="/article/456.htm" title="求二进制数中1的个数" target="_blank">求二进制数中1的个数</a> <span class="text-muted">周凡杨</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E7%AE%97%E6%B3%95/1.htm">算法</a><a class="tag" taget="_blank" href="/search/%E4%BA%8C%E8%BF%9B%E5%88%B6/1.htm">二进制</a> <div>解法一: 对于一个正整数如果是偶数,该数的二进制数的最后一位是 0 ,反之若是奇数,则该数的二进制数的最后一位是 1 。因此,可以考虑利用位移、判断奇偶来实现。   public int bitCount(int x){ int count = 0; while(x!=0){ if(x%2!=0){ /</div> </li> <li><a href="/article/583.htm" title="spring中hibernate及事务配置" target="_blank">spring中hibernate及事务配置</a> <span class="text-muted">g21121</span> <a class="tag" taget="_blank" href="/search/Hibernate/1.htm">Hibernate</a> <div>hibernate的sessionFactory配置: <!-- hibernate sessionFactory配置 --> <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <</div> </li> <li><a href="/article/710.htm" title="log4j.properties 使用" target="_blank">log4j.properties 使用</a> <span class="text-muted">510888780</span> <a class="tag" taget="_blank" href="/search/log4j/1.htm">log4j</a> <div>log4j.properties 使用 一.参数意义说明 输出级别的种类 ERROR、WARN、INFO、DEBUG ERROR 为严重错误 主要是程序的错误 WARN 为一般警告,比如session丢失 INFO 为一般要显示的信息,比如登录登出 DEBUG 为程序的调试信息 配置日志信息输出目的地 log4j.appender.appenderName = fully.qua</div> </li> <li><a href="/article/837.htm" title="Spring mvc-jfreeChart柱图(2)" target="_blank">Spring mvc-jfreeChart柱图(2)</a> <span class="text-muted">布衣凌宇</span> <a class="tag" taget="_blank" href="/search/jfreechart/1.htm">jfreechart</a> <div>上一篇中生成的图是静态的,这篇将按条件进行搜索,并统计成图表,左面为统计图,右面显示搜索出的结果。 第一步:导包 第二步;配置web.xml(上一篇有代码) 建BarRenderer类用于柱子颜色 import java.awt.Color; import java.awt.Paint; import org.jfree.chart.renderer.category.BarR</div> </li> <li><a href="/article/964.htm" title="我的spring学习笔记14-容器扩展点之PropertyPlaceholderConfigurer" target="_blank">我的spring学习笔记14-容器扩展点之PropertyPlaceholderConfigurer</a> <span class="text-muted">aijuans</span> <a class="tag" taget="_blank" href="/search/Spring3/1.htm">Spring3</a> <div>PropertyPlaceholderConfigurer是个bean工厂后置处理器的实现,也就是BeanFactoryPostProcessor接口的一个实现。关于BeanFactoryPostProcessor和BeanPostProcessor类似。我会在其他地方介绍。 PropertyPlaceholderConfigurer可以将上下文(配置文件)中的属性值放在另一个单独的标准java</div> </li> <li><a href="/article/1091.htm" title="maven 之 cobertura 简单使用" target="_blank">maven 之 cobertura 简单使用</a> <span class="text-muted">antlove</span> <a class="tag" taget="_blank" href="/search/maven/1.htm">maven</a><a class="tag" taget="_blank" href="/search/test/1.htm">test</a><a class="tag" taget="_blank" href="/search/unit/1.htm">unit</a><a class="tag" taget="_blank" href="/search/cobertura/1.htm">cobertura</a><a class="tag" taget="_blank" href="/search/report/1.htm">report</a> <div>1. 创建一个maven项目 2. 创建com.CoberturaStart.java package com; public class CoberturaStart { public void helloEveryone(){ System.out.println("=================================================</div> </li> <li><a href="/article/1218.htm" title="程序的执行顺序" target="_blank">程序的执行顺序</a> <span class="text-muted">百合不是茶</span> <a class="tag" taget="_blank" href="/search/JAVA%E6%89%A7%E8%A1%8C%E9%A1%BA%E5%BA%8F/1.htm">JAVA执行顺序</a> <div>      刚在看java核心技术时发现对java的执行顺序不是很明白了,百度一下也没有找到适合自己的资料,所以就简单的回顾一下吧   代码如下;     经典的程序执行面试题 //关于程序执行的顺序 //例如: //定义一个基类 public class A(){ public A(</div> </li> <li><a href="/article/1345.htm" title="设置session失效的几种方法" target="_blank">设置session失效的几种方法</a> <span class="text-muted">bijian1013</span> <a class="tag" taget="_blank" href="/search/web.xml/1.htm">web.xml</a><a class="tag" taget="_blank" href="/search/session%E5%A4%B1%E6%95%88/1.htm">session失效</a><a class="tag" taget="_blank" href="/search/%E7%9B%91%E5%90%AC%E5%99%A8/1.htm">监听器</a> <div>在系统登录后,都会设置一个当前session失效的时间,以确保在用户长时间不与服务器交互,自动退出登录,销毁session。具体设置很简单,方法有三种:(1)在主页面或者公共页面中加入:session.setMaxInactiveInterval(900);参数900单位是秒,即在没有活动15分钟后,session将失效。这里要注意这个session设置的时间是根据服务器来计算的,而不是客户端。所</div> </li> <li><a href="/article/1472.htm" title="java jvm常用命令工具" target="_blank">java jvm常用命令工具</a> <span class="text-muted">bijian1013</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/jvm/1.htm">jvm</a> <div>一.概述         程序运行中经常会遇到各种问题,定位问题时通常需要综合各种信息,如系统日志、堆dump文件、线程dump文件、GC日志等。通过虚拟机监控和诊断工具可以帮忙我们快速获取、分析需要的数据,进而提高问题解决速度。 本文将介绍虚拟机常用监控和问题诊断命令工具的使用方法,主要包含以下工具:       &nbs</div> </li> <li><a href="/article/1599.htm" title="【Spring框架一】Spring常用注解之Autowired和Resource注解" target="_blank">【Spring框架一】Spring常用注解之Autowired和Resource注解</a> <span class="text-muted">bit1129</span> <a class="tag" taget="_blank" href="/search/Spring%E5%B8%B8%E7%94%A8%E6%B3%A8%E8%A7%A3/1.htm">Spring常用注解</a> <div>Spring自从2.0引入注解的方式取代XML配置的方式来做IOC之后,对Spring一些常用注解的含义行为一直处于比较模糊的状态,写几篇总结下Spring常用的注解。本篇包含的注解有如下几个: Autowired Resource Component Service Controller Transactional 根据它们的功能、目的,可以分为三组,Autow</div> </li> <li><a href="/article/1726.htm" title="mysql 操作遇到safe update mode问题" target="_blank">mysql 操作遇到safe update mode问题</a> <span class="text-muted">bitray</span> <a class="tag" taget="_blank" href="/search/update/1.htm">update</a> <div>    我并不知道出现这个问题的实际原理,只是通过其他朋友的博客,文章得知的一个解决方案,目前先记录一个解决方法,未来要是真了解以后,还会继续补全.     在mysql5中有一个safe update mode,这个模式让sql操作更加安全,据说要求有where条件,防止全表更新操作.如果必须要进行全表操作,我们可以执行 SET</div> </li> <li><a href="/article/1853.htm" title="nginx_perl试用" target="_blank">nginx_perl试用</a> <span class="text-muted">ronin47</span> <a class="tag" taget="_blank" href="/search/nginx_perl%E8%AF%95%E7%94%A8/1.htm">nginx_perl试用</a> <div>因为空闲时间比较多,所以在CPAN上乱翻,看到了nginx_perl这个项目(原名Nginx::Engine),现在托管在github.com上。地址见:https://github.com/zzzcpan/nginx-perl 这个模块的目的,是在nginx内置官方perl模块的基础上,实现一系列异步非阻塞的api。用connector/writer/reader完成类似proxy的功能(这里</div> </li> <li><a href="/article/1980.htm" title="java-63-在字符串中删除特定的字符" target="_blank">java-63-在字符串中删除特定的字符</a> <span class="text-muted">bylijinnan</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a> <div> public class DeleteSpecificChars { /** * Q 63 在字符串中删除特定的字符 * 输入两个字符串,从第一字符串中删除第二个字符串中所有的字符。 * 例如,输入”They are students.”和”aeiou”,则删除之后的第一个字符串变成”Thy r stdnts.” */ public static voi</div> </li> <li><a href="/article/2107.htm" title="EffectiveJava--创建和销毁对象" target="_blank">EffectiveJava--创建和销毁对象</a> <span class="text-muted">ccii</span> <a class="tag" taget="_blank" href="/search/%E5%88%9B%E5%BB%BA%E5%92%8C%E9%94%80%E6%AF%81%E5%AF%B9%E8%B1%A1/1.htm">创建和销毁对象</a> <div>本章内容: 1. 考虑用静态工厂方法代替构造器 2. 遇到多个构造器参数时要考虑用构建器(Builder模式) 3. 用私有构造器或者枚举类型强化Singleton属性 4. 通过私有构造器强化不可实例化的能力 5. 避免创建不必要的对象 6. 消除过期的对象引用 7. 避免使用终结方法 1. 考虑用静态工厂方法代替构造器     类可以通过</div> </li> <li><a href="/article/2234.htm" title="[宇宙时代]四边形理论与光速飞行" target="_blank">[宇宙时代]四边形理论与光速飞行</a> <span class="text-muted">comsci</span> <div>   从四边形理论来推论 为什么光子飞船必须获得星光信号才能够进行光速飞行?    一组星体组成星座  向空间辐射一组由复杂星光信号组成的辐射频带,按照四边形-频率假说  一组频率就代表一个时空的入口    那么这种由星光信号组成的辐射频带就代表由这些星体所控制的时空通道,该时空通道在三维空间的投影是一</div> </li> <li><a href="/article/2361.htm" title="ubuntu server下python脚本迁移数据" target="_blank">ubuntu server下python脚本迁移数据</a> <span class="text-muted">cywhoyi</span> <a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/Kettle/1.htm">Kettle</a><a class="tag" taget="_blank" href="/search/pymysql/1.htm">pymysql</a><a class="tag" taget="_blank" href="/search/cx_Oracle/1.htm">cx_Oracle</a><a class="tag" taget="_blank" href="/search/ubuntu+server/1.htm">ubuntu server</a> <div>因为是在Ubuntu下,所以安装python、pip、pymysql等都极其方便,sudo apt-get install pymysql, 但是在安装cx_Oracle(连接oracle的模块)出现许多问题,查阅相关资料,发现这边文章能够帮我解决,希望大家少走点弯路。http://www.tbdazhe.com/archives/602 1.安装python 2.安装pip、pymysql</div> </li> <li><a href="/article/2488.htm" title="Ajax正确但是请求不到值解决方案" target="_blank">Ajax正确但是请求不到值解决方案</a> <span class="text-muted">dashuaifu</span> <a class="tag" taget="_blank" href="/search/Ajax/1.htm">Ajax</a><a class="tag" taget="_blank" href="/search/async/1.htm">async</a> <div>Ajax正确但是请求不到值解决方案   解决方案:1 .     async: false ,    2.     设置延时执行js里的ajax或者延时后台java方法!!!!!!!   例如:   $.ajax({     &</div> </li> <li><a href="/article/2615.htm" title="windows安装配置php+memcached" target="_blank">windows安装配置php+memcached</a> <span class="text-muted">dcj3sjt126com</span> <a class="tag" taget="_blank" href="/search/PHP/1.htm">PHP</a><a class="tag" taget="_blank" href="/search/Install/1.htm">Install</a><a class="tag" taget="_blank" href="/search/memcache/1.htm">memcache</a> <div>Windows下Memcached的安装配置方法 1、将第一个包解压放某个盘下面,比如在c:\memcached。 2、在终端(也即cmd命令界面)下输入 'c:\memcached\memcached.exe -d install' 安装。 3、再输入: 'c:\memcached\memcached.exe -d start' 启动。(需要注意的: 以后memcached将作为windo</div> </li> <li><a href="/article/2742.htm" title="iOS开发学习路径的一些建议" target="_blank">iOS开发学习路径的一些建议</a> <span class="text-muted">dcj3sjt126com</span> <a class="tag" taget="_blank" href="/search/ios/1.htm">ios</a> <div>iOS论坛里有朋友要求回答帖子,帖子的标题是: 想学IOS开发高阶一点的东西,从何开始,然后我吧啦吧啦回答写了很多。既然敲了那么多字,我就把我写的回复也贴到博客里来分享,希望能对大家有帮助。欢迎大家也到帖子里讨论和分享,地址:http://bbs.csdn.net/topics/390920759   下面是我回复的内容:   结合自己情况聊下iOS学习建议,</div> </li> <li><a href="/article/2869.htm" title="Javascript闭包概念" target="_blank">Javascript闭包概念</a> <span class="text-muted">fanfanlovey</span> <a class="tag" taget="_blank" href="/search/JavaScript/1.htm">JavaScript</a><a class="tag" taget="_blank" href="/search/%E9%97%AD%E5%8C%85/1.htm">闭包</a> <div>1.参考资料 http://www.jb51.net/article/24101.htm http://blog.csdn.net/yn49782026/article/details/8549462 2.内容概述 要理解闭包,首先需要理解变量作用域问题 内部函数可以饮用外面全局变量 var n=999;   functio</div> </li> <li><a href="/article/2996.htm" title="yum安装mysql5.6" target="_blank">yum安装mysql5.6</a> <span class="text-muted">haisheng</span> <a class="tag" taget="_blank" href="/search/mysql/1.htm">mysql</a> <div>1、安装http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm   2、yum install mysql   3、yum install mysql-server   4、vi /etc/my.cnf   添加character_set_server=utf8</div> </li> <li><a href="/article/3123.htm" title="po/bo/vo/dao/pojo的详介" target="_blank">po/bo/vo/dao/pojo的详介</a> <span class="text-muted">IT_zhlp80</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/BO/1.htm">BO</a><a class="tag" taget="_blank" href="/search/VO/1.htm">VO</a><a class="tag" taget="_blank" href="/search/DAO/1.htm">DAO</a><a class="tag" taget="_blank" href="/search/POJO/1.htm">POJO</a><a class="tag" taget="_blank" href="/search/po/1.htm">po</a> <div>    JAVA几种对象的解释 PO:persistant object持久对象,可以看成是与数据库中的表相映射的java对象。最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合。PO中应该不包含任何对数据库的操作. VO:value object值对象。通常用于业务层之间的数据传递,和PO一样也是仅仅包含数据而已。但应是抽象出的业务对象,可</div> </li> <li><a href="/article/3250.htm" title="java设计模式" target="_blank">java设计模式</a> <span class="text-muted">kerryg</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1.htm">设计模式</a> <div>设计模式的分类:    一、 设计模式总体分为三大类: 1、创建型模式(5种):工厂方法模式,抽象工厂模式,单例模式,建造者模式,原型模式。 2、结构型模式(7种):适配器模式,装饰器模式,代理模式,外观模式,桥接模式,组合模式,享元模式。 3、行为型模式(11种):策略模式,模版方法模式,观察者模式,迭代子模式,责任链模式,命令模式,备忘录模式,状态模式,访问者</div> </li> <li><a href="/article/3377.htm" title="[1]CXF3.1整合Spring开发webservice——helloworld篇" target="_blank">[1]CXF3.1整合Spring开发webservice——helloworld篇</a> <span class="text-muted">木头.java</span> <a class="tag" taget="_blank" href="/search/spring/1.htm">spring</a><a class="tag" taget="_blank" href="/search/webservice/1.htm">webservice</a><a class="tag" taget="_blank" href="/search/CXF/1.htm">CXF</a> <div>Spring 版本3.2.10 CXF 版本3.1.1 项目采用MAVEN组织依赖jar 我这里是有parent的pom,为了简洁明了,我直接把所有的依赖都列一起了,所以都没version,反正上面已经写了版本 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="ht</div> </li> <li><a href="/article/3504.htm" title="Google 工程师亲授:菜鸟开发者一定要投资的十大目标" target="_blank">Google 工程师亲授:菜鸟开发者一定要投资的十大目标</a> <span class="text-muted">qindongliang1922</span> <a class="tag" taget="_blank" href="/search/%E5%B7%A5%E4%BD%9C/1.htm">工作</a><a class="tag" taget="_blank" href="/search/%E6%84%9F%E6%82%9F/1.htm">感悟</a><a class="tag" taget="_blank" href="/search/%E4%BA%BA%E7%94%9F/1.htm">人生</a> <div>身为软件开发者,有什么是一定得投资的? Google 软件工程师 Emanuel Saringan 整理了十项他认为必要的投资,第一项就是身体健康,英文与数学也都是必备能力吗?来看看他怎么说。(以下文字以作者第一人称撰写)) 你的健康 无疑地,软件开发者是世界上最久坐不动的职业之一。 每天连坐八到十六小时,休息时间只有一点点,绝对会让你的鲔鱼肚肆无忌惮的生长。肥胖容易扩大罹患其他疾病的风险,</div> </li> <li><a href="/article/3631.htm" title="linux打开最大文件数量1,048,576" target="_blank">linux打开最大文件数量1,048,576</a> <span class="text-muted">tianzhihehe</span> <a class="tag" taget="_blank" href="/search/c/1.htm">c</a><a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a> <div>File descriptors are represented by the C int type. Not using a special type is often  considered odd, but is, historically, the Unix way. Each Linux process has a maximum number of files th</div> </li> <li><a href="/article/3758.htm" title="java语言中PO、VO、DAO、BO、POJO几种对象的解释" target="_blank">java语言中PO、VO、DAO、BO、POJO几种对象的解释</a> <span class="text-muted">衞酆夼</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/VO/1.htm">VO</a><a class="tag" taget="_blank" href="/search/BO/1.htm">BO</a><a class="tag" taget="_blank" href="/search/POJO/1.htm">POJO</a><a class="tag" taget="_blank" href="/search/po/1.htm">po</a> <div>PO:persistant object持久对象 最形象的理解就是一个PO就是数据库中的一条记录。好处是可以把一条记录作为一个对象处理,可以方便的转为其它对象。可以看成是与数据库中的表相映射的java对象。最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合。PO中应该不包含任何对数据库的操作。 BO:business object业务对象 封装业务逻辑的java对象</div> </li> </ul> </div> </div> </div> <div> <div class="container"> <div class="indexes"> <strong>按字母分类:</strong> <a href="/tags/A/1.htm" target="_blank">A</a><a href="/tags/B/1.htm" target="_blank">B</a><a href="/tags/C/1.htm" target="_blank">C</a><a href="/tags/D/1.htm" target="_blank">D</a><a href="/tags/E/1.htm" target="_blank">E</a><a href="/tags/F/1.htm" target="_blank">F</a><a href="/tags/G/1.htm" target="_blank">G</a><a href="/tags/H/1.htm" target="_blank">H</a><a href="/tags/I/1.htm" target="_blank">I</a><a href="/tags/J/1.htm" target="_blank">J</a><a href="/tags/K/1.htm" target="_blank">K</a><a href="/tags/L/1.htm" target="_blank">L</a><a href="/tags/M/1.htm" target="_blank">M</a><a href="/tags/N/1.htm" target="_blank">N</a><a href="/tags/O/1.htm" target="_blank">O</a><a href="/tags/P/1.htm" target="_blank">P</a><a href="/tags/Q/1.htm" target="_blank">Q</a><a href="/tags/R/1.htm" target="_blank">R</a><a href="/tags/S/1.htm" target="_blank">S</a><a href="/tags/T/1.htm" target="_blank">T</a><a href="/tags/U/1.htm" target="_blank">U</a><a href="/tags/V/1.htm" target="_blank">V</a><a href="/tags/W/1.htm" target="_blank">W</a><a href="/tags/X/1.htm" target="_blank">X</a><a href="/tags/Y/1.htm" target="_blank">Y</a><a href="/tags/Z/1.htm" target="_blank">Z</a><a href="/tags/0/1.htm" target="_blank">其他</a> </div> </div> </div> <footer id="footer" class="mb30 mt30"> <div class="container"> <div class="footBglm"> <a target="_blank" href="/">首页</a> - <a target="_blank" href="/custom/about.htm">关于我们</a> - <a target="_blank" href="/search/Java/1.htm">站内搜索</a> - <a target="_blank" href="/sitemap.txt">Sitemap</a> - <a target="_blank" href="/custom/delete.htm">侵权投诉</a> </div> <div class="copyright">版权所有 IT知识库 CopyRight © 2000-2050 E-COM-NET.COM , All Rights Reserved. <!-- <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">京ICP备09083238号</a><br>--> </div> </div> </footer> <!-- 代码高亮 --> <script type="text/javascript" src="/static/syntaxhighlighter/scripts/shCore.js"></script> <script type="text/javascript" src="/static/syntaxhighlighter/scripts/shLegacy.js"></script> <script type="text/javascript" src="/static/syntaxhighlighter/scripts/shAutoloader.js"></script> <link type="text/css" rel="stylesheet" href="/static/syntaxhighlighter/styles/shCoreDefault.css"/> <script type="text/javascript" src="/static/syntaxhighlighter/src/my_start_1.js"></script> </body> </html>