• Array_merge and array addition


    array_merge() Index array: Values will not be overwritten and will be re-indexed; Associated Array: The last element overrides the other elements with the same key name.   Array+ To the left, the key is added; Array ( [0] => A006 ) + Array ( [0] => A004 [1] => A006 ) = Array ( [0] […]

  • The redis usage of NoSQL


    What is NoSQL? Generally referring to non-relational databases SQL grammar is not supported The storage structure is completely different from that of traditional relational databases. The data stored in NoSQL is in the form of key-value relationship. NoSQL does not have a common language in the world. Each NoSQL database has its own API and […]

  • Analysis of Element Centralization Principle in CSS Implementation


    It is a very common requirement to center elements horizontally and vertically in CSS. But it seems to be very simple in theory. In practice, it often stumps many people. It’s relatively simple to center the element level: if it’s an in-line element, apply text-align: center to its parent element; if it’s a block-level element, […]

  • 00 x Two Sum


    Question Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = […]

  • Comprehensive understanding of HTML Form form elements


    As follows: XML/HTML CodeCopy content to clipboard <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>      <html xmlns=“http://www.w3.org/1999/xhtml”>   <head>       <title>Registration form</title>   </head>   <body>       <form action=“DoFormAction.htm”>           <fieldset style=“width=800px”>                                                              <! – Set the border of the registration form – >           <legend>Please enter the following information and register.</legend>           <table cellspacing=“0px” cellpadding=“6px” border=“1px” bordercolor=“black” align=“center” width=“600px”>               <tr>                   <td align=“right”>User name:</td>                                   <! – Text box – >                   <td><input type=“text” size=“20” style=“width:150px” /></td>               </tr>               <tr>                   <td align=“right”>Password:</td>                                     <! – Password Box – >                   <td><input type=“password” size=“20” style=“width:150px” /></td>               </tr>               <tr>   […]

  • Implementation of adding rounded border to div element


    As follows: CSS CodeCopy content to clipboard div    {    border:2px solid;    border-radius:25px;    }   Above is the whole content of the implementation method of adding rounded border to div element brought by Xiaobian. I hope it will be helpful to you and support developpaer more.~

  • Border-radius is a way to add rounded borders to elements


    Border-radius: 10px; /* All corners use rounded corners with a radius of 10px*/ Border-radius: 5px 4PX 3px 2px; /* The four radius values are upper left corner, upper right corner, lower right corner and lower left corner, clockwise.*/ Don’t assume that border-radius values can only be in PX units, you can also use percentages or […]

  • CSS removes background color generated by elements when clicking on the mobile end (recommendation)


    Add the following code to the CSS style of clicking on the element that produces the background color:   -webkit-tap-highlight-color: transparent; Ps: Here’s a look at the background color of the CSS cancel a tag when clicked on the mobile end 1. Cancel the blue color of label a when clicking on the mobile end […]

  • XML syntax


    Related articles: What is it?XML? Look at a simple oneXMLFile: <?xml version=”1.0″ encoding=”ISO-8859-1″?><people><name>yufuzi</name> <sex>man</sex> <age>27</age><description>I am a good man! </description></people> XMLDocuments consist of oneXMLDeclare and consist of a root element or tag that contains some nested elements.   1. The declarative statement <? Xml…?> tells the browser or other processing program that the document isXMLFile. In […]

  • Data echo of elementary cascade selector


    Data echo of element cascade selector For the front-end chicken, it has been a long time puzzled by this problem. It’s also Baidu’s method.Form part code: <el-form-item label= “department name:” prop= “deptId”> <el-cascader Placeholder = “please select department” :props=”depShowType” :options=”deptData” filterable change-on-select v-model=”SelectdeptId”> </el-cascader> </el-form-item> Data defines: depShowType:{ value:’id’, label:’name’, children:’nodes’ }, SelectdeptId:[], In methods: […]

  • Introduction to XML: XSLT-XML/XSLT


    XSLT is a part of XSL. It is an application of XML, specifying rules for converting an XML document into another XML document. XSLT document is not only an XML document, but also a style sheet, which contains a series of templates. The XSLT processor compares elements in the input XML document with templates in […]

  • Introduction to XML: XPath-XML/XSLT


    XPath is a language for selecting nodes and node sets from the document tree. From the perspective of XPath, there are seven kinds of nodes: root node, element node, attribute node, text node, annotation node, processing instruction node and namespace node.XPath is a language for selecting nodes and node sets from the document tree. From […]