search
HomeTechnical ResourcesComplete collection of HTML tags
Complete collection of HTML tags

Complete collection of HTML tags

HTML tags include <!DOCTYPE>, <html>, <head>, <title>, <meta>, <link>, <style>, <script>, <body>, <h1> - <h6>, etc. For more related issues about HTML tags, please see the article below this topic for details. PHP Chinese website welcomes everyone to come and learn.

188
18

Complete collection of HTML tags

Complete collection of HTML tags

Complete collection of HTML tags

HTML标签有、、、、<meta>、<link>、<style>、<script>、<body>、<h1> - <h6>、<p>、<a>、<img>、<div>、<span>、<input>、<button>、<form</p><span class="Articlelist_txts_time">Nov 27, 2023 am 10:05 AM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=html"><span class="Articlelist_txts_infoss on">html</span></a><a href="https://m.php.cn/search?word=htmltag"><span class="Articlelist_txts_infoss ">html tag</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/420567.html" title="How to use html !DOCTYPE tag" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/033/5ceb3b67d94af513.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="How to use html !DOCTYPE tag" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/420567.html" title="How to use html !DOCTYPE tag" class="Articlelist_txts_title">How to use html !DOCTYPE tag</a></h3><p class="Articlelist_txts_p">The <!DOCTYPE> declaration is not an HTML tag; it is an instruction that instructs the web browser as to which version of HTML the page should be written in. The <!DOCTYPE> declaration must be the first line of the HTML document, before the <html> tag.</p><span class="Articlelist_txts_time">May 27, 2019 am 09:27 AM</span></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/545709.html" title="html tag escape" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/202305/21/2023052115550861594.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="html tag escape" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/545709.html" title="html tag escape" class="Articlelist_txts_title">html tag escape</a></h3><p class="Articlelist_txts_p">In web development, we often use html tags or elements. These tags are usually used to describe and display the content on the page, including text, images, links, tables, etc. But when using these tags, we need to pay attention to some special characters, such as <, >, &, etc. These characters may affect the display of the tags or even cause code errors. To solve this problem, we need to use escape characters of html tags. 1. What is html escaping? HTML escaping refers to converting some special characters into their corresponding entity characters or tags.</p><span class="Articlelist_txts_time">May 21, 2023 pm 03:55 PM</span></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/604631.html" title="How to use HTML tags in HTML tables?" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/465/014/169416798450646.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="How to use HTML tags in HTML tables?" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/604631.html" title="How to use HTML tags in HTML tables?" class="Articlelist_txts_title">How to use HTML tags in HTML tables?</a></h3><p class="Articlelist_txts_p">We can easily add HTML tags in the table. HTML tags should be placed inside <td> tags. For example, add paragraph <p>…</p> tags or other available tags inside the <td> tag. Syntax The following is the syntax for using HTMl tags in HTML tables. <td><p>Paragraphofthecontext</p><td>Example 1 An example of using HTML tags in an HTML table is given below. <!DOCTYPEhtml><html><head&g</p><span class="Articlelist_txts_time">Sep 08, 2023 pm 06:13 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=use"><span class="Articlelist_txts_infoss on">use</span></a><a href="https://m.php.cn/search?word=htmltag"><span class="Articlelist_txts_infoss ">html tag</span></a><a href="https://m.php.cn/search?word=htmltable"><span class="Articlelist_txts_infoss ">html table</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/408210.html" title="What is the head tag? Introduction to head tag in html" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/009/5b715421c3505371.png?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="What is the head tag? Introduction to head tag in html" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/408210.html" title="What is the head tag? Introduction to head tag in html" class="Articlelist_txts_title">What is the head tag? Introduction to head tag in html</a></h3><p class="Articlelist_txts_p">This article brings you the content about what is the head tag? The introduction of the head tag in HTML has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.</p><span class="Articlelist_txts_time">Aug 13, 2018 pm 05:50 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=html"><span class="Articlelist_txts_infoss on">html</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/414890.html" title="What is the label of head?" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/027/5c516c9641d3c479.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="What is the label of head?" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/414890.html" title="What is the label of head?" class="Articlelist_txts_title">What is the label of head?</a></h3><p class="Articlelist_txts_p">The head tag is a built-in tag included in the HEAD part of a web page. It is generally used to declare the scripting language used and the method used when transmitting the web page.</p><span class="Articlelist_txts_time">Jan 30, 2019 pm 05:22 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=head"><span class="Articlelist_txts_infoss on">head</span></a><a href="https://m.php.cn/search?word=headtag"><span class="Articlelist_txts_infoss ">head tag</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/420557.html" title="How to use html title tag" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/024/5cea629c3c4ad458.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="How to use html title tag" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/420557.html" title="How to use html title tag" class="Articlelist_txts_title">How to use html title tag</a></h3><p class="Articlelist_txts_p">The title tag in HTML is used to define the title of the web page, which is displayed at the top of the browser. In addition, the title tag is placed within the <head></head> tag, in the title tag.</p><span class="Articlelist_txts_time">May 26, 2019 pm 05:57 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=html"><span class="Articlelist_txts_infoss on">html</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/415451.html" title="What does the title tag mean?" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/027/5c6e50fe7c7eb296.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="What does the title tag mean?" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/415451.html" title="What does the title tag mean?" class="Articlelist_txts_title">What does the title tag mean?</a></h3><p class="Articlelist_txts_p">The title element defines the title of the document. Browsers use the title in a special way and usually place it on the title bar or status bar of the browser window. Likewise, when a document is added to a user's links list or favorites or bookmarks list, the title becomes the default name for the link to the document.</p><span class="Articlelist_txts_time">Feb 21, 2019 pm 03:23 PM</span></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/415137.html" title="What is the function of meta tag" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/027/5c63e29aba310409.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="What is the function of meta tag" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/415137.html" title="What is the function of meta tag" class="Articlelist_txts_title">What is the function of meta tag</a></h3><p class="Articlelist_txts_p">The meta tag provides meta-information about the page, such as description and keywords for search engines and update frequency.</p><span class="Articlelist_txts_time">Feb 13, 2019 pm 05:26 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=metatag"><span class="Articlelist_txts_infoss on">meta tag</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/409883.html" title="What is the meta tag in html? Introduction to attributes of meta tag" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/024/5b9793f298905161.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="What is the meta tag in html? Introduction to attributes of meta tag" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/409883.html" title="What is the meta tag in html? Introduction to attributes of meta tag" class="Articlelist_txts_title">What is the meta tag in html? Introduction to attributes of meta tag</a></h3><p class="Articlelist_txts_p">​This chapter will introduce to you what is the meta tag in html? Introduction to the attributes of meta tags. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.</p><span class="Articlelist_txts_time">Sep 11, 2018 pm 06:07 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=html"><span class="Articlelist_txts_infoss on">html</span></a><a href="https://m.php.cn/search?word=metatag"><span class="Articlelist_txts_infoss ">meta tag</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/420587.html" title="How to use html link tag" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/020/5ceb43f8dced8998.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="How to use html link tag" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/420587.html" title="How to use html link tag" class="Articlelist_txts_title">How to use html link tag</a></h3><p class="Articlelist_txts_p">The html link tag is used to define the relationship between the document and external resources. The link element is an empty element, which only contains attributes. This element can only exist in the head section, but it can appear any number of times.</p><span class="Articlelist_txts_time">May 27, 2019 am 09:58 AM</span></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/453408.html" title="What does the link tag mean?" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/053/5ef98b3f1d5f1920.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="What does the link tag mean?" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/453408.html" title="What does the link tag mean?" class="Articlelist_txts_title">What does the link tag mean?</a></h3><p class="Articlelist_txts_p">Link means "link" and is a tag in HTML used to establish links to external files. The syntax is "<linkrel="stylesheet" href="style.css" type="text/css"/>"; the document connected by href is a style sheet.</p><span class="Articlelist_txts_time">Jun 29, 2020 pm 02:47 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=html"><span class="Articlelist_txts_infoss on">html</span></a><a href="https://m.php.cn/search?word=linktag"><span class="Articlelist_txts_infoss ">link tag</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/453539.html" title="How to use style tag?" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/202006/30/2020063013524386855.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="How to use style tag?" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/453539.html" title="How to use style tag?" class="Articlelist_txts_title">How to use style tag?</a></h3><p class="Articlelist_txts_p">The usage of the style tag is: 1. Put the style tag in the head tag; 2. Put it as an attribute in the start tag of the element, and use [;] to separate each attribute value; 3. Use the attribute color to add the style attribute font color.</p><span class="Articlelist_txts_time">Jun 30, 2020 pm 01:53 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=css"><span class="Articlelist_txts_infoss on">css</span></a><a href="https://m.php.cn/search?word=style"><span class="Articlelist_txts_infoss ">style</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/408879.html" title="What does the html style tag mean? Detailed explanation on how to use the style tag" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/023/5b7cdc9342a47305.png?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="What does the html style tag mean? Detailed explanation on how to use the style tag" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/408879.html" title="What does the html style tag mean? Detailed explanation on how to use the style tag" class="Articlelist_txts_title">What does the html style tag mean? Detailed explanation on how to use the style tag</a></h3><p class="Articlelist_txts_p">This article mainly talks about the definition and attribute introduction of html style tag. First, let us understand some uses and positions of style tag in HTML, and then introduce some methods and details of use. Let us take a look.</p><span class="Articlelist_txts_time">Aug 22, 2018 pm 01:58 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=html"><span class="Articlelist_txts_infoss on">html</span></a><a href="https://m.php.cn/search?word=style"><span class="Articlelist_txts_infoss ">style</span></a></div></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/408528.html" title="What is the role of script tag in HTML? What is the usage of type attribute in script tag?" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/023/5b754bc6c1b47834.png?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="What is the role of script tag in HTML? What is the usage of type attribute in script tag?" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/408528.html" title="What is the role of script tag in HTML? What is the usage of type attribute in script tag?" class="Articlelist_txts_title">What is the role of script tag in HTML? What is the usage of type attribute in script tag?</a></h3><p class="Articlelist_txts_p">What is the role of script tag in HTML? What is the usage of type attribute in script tag? This article mainly explains the relevant knowledge about the use of HTML Script tags and the usage of the type attribute in script tags.</p><span class="Articlelist_txts_time">Aug 16, 2018 pm 06:02 PM</span></div></div><hr /><div class="Articlelist_txts"><a href="https://m.php.cn/faq/415259.html" title="What does script tag mean?" class="Articlelist_txtsimg"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/027/5c67a2b596718778.jpg?x-oss-process=image/resize,m_fill,h_135,w_240" class="lazy" alt="What does script tag mean?" /></a><div class="Articlelist_txts_info"><h3><a href="https://m.php.cn/faq/415259.html" title="What does script tag mean?" class="Articlelist_txts_title">What does script tag mean?</a></h3><p class="Articlelist_txts_p">The script tag is used to define client-side scripts, such as JavaScript. The script element can contain script statements or point to external script files through the src attribute.</p><span class="Articlelist_txts_time">Feb 16, 2019 pm 01:43 PM</span><div class="Articlelist_txts_infos"><a href="https://m.php.cn/search?word=scripttag"><span class="Articlelist_txts_infoss on">script tag</span></a></div></div></div><hr /><ul class="pagination"><div class="mngfPage"><ul class="page"> <a href="javascript:;" class="active">1</a><a href="/faq/htmlbqdq?p=2">2</a> <a href="/faq/htmlbqdq?p=2">></a></ul></div></ul></div><div class="AI_ToolDetails_main4sR"><div class="phpgenera_Details_mainR4"><div class="phpmain1_4R_readrank"><div class="phpmain1_4R_readrank_top"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghwm/hotarticle2.png" alt="" /><h2>Hot Article</h2></div><div class="phpgenera_Details_mainR4_bottom"><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/631024.html" title="Complete collection of HTML tags" class="phpgenera_Details_mainR4_bottom_title">Complete collection of HTML tags</a><div class="phpgenera_Details_mainR4_bottoms_info"><span>1 years ago</span><span>Byzbt</span></div></div><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/604631.html" title="How to use HTML tags in HTML tables?" class="phpgenera_Details_mainR4_bottom_title">How to use HTML tags in HTML tables?</a><div class="phpgenera_Details_mainR4_bottoms_info"><span>1 years ago</span><span>By王林</span></div></div><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/545709.html" title="html tag escape" class="phpgenera_Details_mainR4_bottom_title">html tag escape</a><div class="phpgenera_Details_mainR4_bottoms_info"><span>1 years ago</span><span>ByWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB</span></div></div><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/453539.html" title="How to use style tag?" class="phpgenera_Details_mainR4_bottom_title">How to use style tag?</a><div class="phpgenera_Details_mainR4_bottoms_info"><span>4 years ago</span><span>Bycoldplay.xixi</span></div></div><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/453408.html" title="What does the link tag mean?" class="phpgenera_Details_mainR4_bottom_title">What does the link tag mean?</a><div class="phpgenera_Details_mainR4_bottoms_info"><span>4 years ago</span><span>By烟雨青岚</span></div></div></div><div class="phpgenera_Details_mainR3_more"><a href="https://m.php.cn/article.html">Show More</a></div></div></div><div class="phpgenera_Details_mainR3"><div class="phpmain1_4R_readrank"><div class="phpmain1_4R_readrank_top"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghwm/hottools2.png" alt="" /><h2>Hot Tools</h2></div><div class="phpgenera_Details_mainR3_bottom"><div class="phpmain_tab2_mids_top"><a href="https://m.php.cn/ai/kits-ai" title="Kits AI" class="phpmain_tab2_mids_top_img"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghwm/default1.png" data-src="https://img.php.cn/upload/ai_manual/001/246/273/173417754263702.jpg?x-oss-process=image/resize,m_fill,h_45,w_45" class="lazy" alt="Kits AI" /></a><div class="phpmain_tab2_mids_info"><a href="https://m.php.cn/ai/kits-ai" title="Kits AI" class="phpmain_tab2_mids_title"><h3>Kits AI</h3></a><p>Transform your voice with AI artist voices. Create and train your own AI voice model.</p></div></div><div class="phpmain_tab2_mids_top"><a href="https://m.php.cn/ai/soundraw-ai-music-generator" title="SOUNDRAW - AI Music Generator" class="phpmain_tab2_mids_top_img"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghwm/default1.png" data-src="https://img.php.cn/upload/ai_manual/001/246/273/173417756684210.jpeg?x-oss-process=image/resize,m_fill,h_45,w_45" class="lazy" alt="SOUNDRAW - AI Music Generator" /></a><div class="phpmain_tab2_mids_info"><a href="https://m.php.cn/ai/soundraw-ai-music-generator" title="SOUNDRAW - AI Music Generator" class="phpmain_tab2_mids_title"><h3>SOUNDRAW - AI Music Generator</h3></a><p>Create music easily for videos, films, and more with SOUNDRAW's AI music generator.</p></div></div><div class="phpmain_tab2_mids_top"><a href="https://m.php.cn/ai/web-chatgptai" title="Web ChatGPT.ai" class="phpmain_tab2_mids_top_img"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghwm/default1.png" data-src="https://img.php.cn/upload/ai_manual/001/246/273/173399378227633.jpg?x-oss-process=image/resize,m_fill,h_45,w_45" class="lazy" alt="Web ChatGPT.ai" /></a><div class="phpmain_tab2_mids_info"><a href="https://m.php.cn/ai/web-chatgptai" title="Web ChatGPT.ai" class="phpmain_tab2_mids_title"><h3>Web ChatGPT.ai</h3></a><p>Free Chrome extension with OpenAI chatbot for efficient browsing.</p></div></div><div class="phpmain_tab2_mids_top"><a href="https://m.php.cn/ai/rok-solution" title="ROK Solution" class="phpmain_tab2_mids_top_img"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghwm/default1.png" data-src="https://img.php.cn/upload/ai_manual/001/246/273/174355762937047.jpg?x-oss-process=image/resize,m_fill,h_45,w_45" class="lazy" alt="ROK Solution" /></a><div class="phpmain_tab2_mids_info"><a href="https://m.php.cn/ai/rok-solution" title="ROK Solution" class="phpmain_tab2_mids_title"><h3>ROK Solution</h3></a><p>Platform for No Code applications and organizational modeling with AI.</p></div></div><div class="phpmain_tab2_mids_top"><a href="https://m.php.cn/ai/aigirlfriend" title="aigirlfriend" class="phpmain_tab2_mids_top_img"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghwm/default1.png" data-src="https://img.php.cn/upload/ai_manual/001/246/273/174355760558836.jpg?x-oss-process=image/resize,m_fill,h_45,w_45" class="lazy" alt="aigirlfriend" /></a><div class="phpmain_tab2_mids_info"><a href="https://m.php.cn/ai/aigirlfriend" title="aigirlfriend" class="phpmain_tab2_mids_title"><h3>aigirlfriend</h3></a><p>The newest and best AI girlfriend on the market, you can have an exciting date with your beloved girl and generate an unforgettable photo for each exciting scene.</p></div></div></div><div class="phpgenera_Details_mainR3_more"><a href="https://m.php.cn/ai">Show More</a></div></div></div><div class="phpgenera_Details_mainR4"><div class="phpmain1_4R_readrank"><div class="phpmain1_4R_readrank_top"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghwm/hotarticle2.png" alt="" /><h2>Hot Topics</h2></div><div class="phpgenera_Details_mainR4_bottom"><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/urlencodehsyf" title="Usage of urlencode function" class="phpgenera_Details_mainR4_bottom_title">Usage of urlencode function</a><div class="phpgenera_Details_mainR4_bottoms_info"><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/eyess.png" alt="" /><span>146</span></div><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/tiezi.png" alt="" /><span>4</span></div></div></div><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/filzdcqcym" title="Is FIL worth holding for the long term?" class="phpgenera_Details_mainR4_bottom_title">Is FIL worth holding for the long term?</a><div class="phpgenera_Details_mainR4_bottoms_info"><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/eyess.png" alt="" /><span>221</span></div><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/tiezi.png" alt="" /><span>5</span></div></div></div><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/golanggolangd" title="What is the difference between golang and python" class="phpgenera_Details_mainR4_bottom_title">What is the difference between golang and python</a><div class="phpgenera_Details_mainR4_bottoms_info"><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/eyess.png" alt="" /><span>199</span></div><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/tiezi.png" alt="" /><span>5</span></div></div></div><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/winssjbdff" title="win10 upgrade patch method" class="phpgenera_Details_mainR4_bottom_title">win10 upgrade patch method</a><div class="phpgenera_Details_mainR4_bottoms_info"><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/eyess.png" alt="" /><span>117</span></div><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/tiezi.png" alt="" /><span>4</span></div></div></div><div class="phpgenera_Details_mainR4_bottoms"><a href="https://m.php.cn/faq/sjroot" title="Mobile phone root" class="phpgenera_Details_mainR4_bottom_title">Mobile phone root</a><div class="phpgenera_Details_mainR4_bottoms_info"><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/eyess.png" alt="" /><span>269</span></div><div class="phpgenera_Details_mainR4_bottoms_infos"><img src="/static/imghwm/tiezi.png" alt="" /><span>5</span></div></div></div></div><div class="phpgenera_Details_mainR3_more"><a href="https://m.php.cn/faq/zt">Show More</a></div></div></div></div></main><footer><div class="footer footermedit"><div class="footertop"><img onerror="this.onerror=''; this.src='/static/imghwm/default1.png'" src="/static/imghwm/logo.png" alt="" /><p>Public welfare online PHP training,Help PHP learners grow quickly!</p></div><div class="footermid"><a href="" title="">About us</a><a href="" title="">Disclaimer</a><a href="" title="">Sitemap</a></div><div class="footerbottom"><p>© php.cn All rights reserved</p></div></div></footer><script> // 通用函数,用于显示或隐藏元素 function toggleElementsDisplay(className, show) { const elements = document.getElementsByClassName(className); for (let i = 0; i < elements.length; i++) { elements[i].style.display = show ? "block" : "none"; } } // 绑定事件监听器 function bindEventListeners() { const toggleDisplay = (className, show, eventId) => { document.getElementById(eventId).addEventListener("click", (event) => { event.preventDefault(); toggleElementsDisplay(className, show); }); }; toggleDisplay("m_editormain12main", true, "fixed_tab_img"); toggleDisplay("m_editormain12main", false, "fixed_tab_topi"); toggleDisplay("m_editormain12main", false, "fixed_tab_close"); // 控制 m_menu 的显示和隐藏 toggleDisplay("m_menu", true, "lan1sp"); toggleDisplay("m_menu", false, "m_editormain12main_topi_sp"); // 控制 m_menu_lang 的显示和隐藏 toggleDisplay("m_menu_lang", true, "lan1"); toggleDisplay("m_menu_lang", false, "m_editormain12main_topi_lan"); } // 在页面加载完成后绑定事件监听器 window.onload = bindEventListeners; layui.use(function () { var util = layui.util; util.fixbar({ on: { mouseenter: function (type) { layer.tips(type, this, { tips: 4, fixed: true, }); }, mouseleave: function (type) { layer.closeAll("tips"); }, }, }); }); // 获取关闭按钮 const closeButton = document.querySelector(".phpgenera_Details_mainR1_close"); // 获取容器元素 const container = document.querySelector(".phpgenera_Details_mainR1"); // 添加点击事件监听器 closeButton.addEventListener("click", (event) => { event.preventDefault(); // 阻止默认的<a>点击行为 container.style.display = "none"; // 隐藏容器 }); document.addEventListener("DOMContentLoaded", () => { // 动态获取所有滚动链接及隐藏目标元素 const links = [{ linkId: "fixed_tab_a1", targetId: "Topic_Details_mainL2_R_title1", hideElementId: "fixed_tab_titlelist", // 要隐藏的元素 ID }, { linkId: "fixed_tab_a2", targetId: "Topic_Details_mainL2_R_title2", hideElementId: "fixed_tab_titlelist", // 要隐藏的元素 ID }, { linkId: "fixed_tab_a3", targetId: "Topic_Details_mainL2_R_title3", hideElementId: "fixed_tab_titlelist", // 要隐藏的元素 ID }, ]; links.forEach(({ linkId, targetId, hideElementId }) => { const linkElement = document.getElementById(linkId); const targetElement = document.getElementById(targetId); const hideElement = document.getElementById(hideElementId); if (linkElement && targetElement) { linkElement.addEventListener("click", (e) => { e.preventDefault(); // 阻止默认行为 // 隐藏指定元素 if (hideElement) { hideElement.style.display = "none"; } // 平滑滚动到目标元素 targetElement.scrollIntoView({ behavior: "smooth" }); }); } else { console.warn( `Link, target, or hide element not found: ${linkId}, ${targetId}, ${hideElementId}` ); } }); }); </script></body></html>