Tag:html

  • Example of asynchronous upload file in HTML

    Time:2020-7-10

    Copy code The code is as follows: <form action=”/hehe” method=”post”> <input type=”text” value=”hehe”/> <input type=”submit” value=”upload”/> </form> Copy code The code is as follows: This is the most common and simplest form submission method in HTML, but this method must switch pages. Maybe sometimes we want to interact with the server on the same page, […]

  • HTML link anchor tag and its role in SEO

    Time:2020-7-8

    <a>Tags are mainly used to define links and bookmarks, also known as hyperlinks or anchor links. The most common uses are as follows: Set up the hyperlink’s attribute and jump to the link in the middle. <a href=”https://www.jb51.net/”>www.jb51.net</a> Create a bookmark, use the name or ID attribute, add “ා” at the end of the hyperlink […]

  • HTML version declaration DOCTYPE tag

    Time:2020-7-7

    When we open the source code of a regular website, we will find that the source code must start with <! DOCTYPE HTML, and some of the <! DOCTYPE > are directly added with > and some have long text, such as <!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”> Of course, the […]

  • Analysis of the deep level function of HTML <! — — — — —

    Time:2020-7-6

    When we look at the source code of many websites, we will find a lot of comments. In particular, Sina’s comment tag is used to insert comments into the source document. The annotation text is generally used as a reference for programmers, especially for large-scale, multi person developed website source code. If there is no […]

  • Analysis of five aspects of data security

    Time:2020-7-5

    Revision of the official website of Yezi E-sports https://www.xxe.io/ Brand newFor database security, we usually think that the lack of technical means is not the lack of more norms and security awareness. If users can strictly follow the safety rules and apply the existing security technology, the security of the database can be greatly enhanced, […]

  • HTML pop-up div to achieve mobile center is very easy to use

    Time:2020-7-4

    Copy code The code is as follows: <!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> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> < title > Untitled Document<style type=”text/css”> /*Style of pop-up layer*/html,body {height:100%; margin:0px; font-size:12px;} .mydiv { background-color: #ff6; border: 1px solid #f90; text-align: center; line-height: 40px; font-size: 12px; font-weight: bold; z-index:99; width: 300px; […]

  • Development and production of Mengchong ecosystem app

    Time:2020-7-3

    Application skills of ThinkPHP + mengpet ecosystem app development (T: i8o, 2853, 296o V Li can)1. Format the file under Runtime: define (‘strip_ RUNTIME_ SPACE’,false);2. Development time does not cache: entry file: define (‘No_ CACHE_ RUNTIME’,true);3. ThinkPHP supports four access modes: A: normal mode B: pathinfo mode C: rewrite mode D: compatibility mode using URL […]

  • HTML with the realization of click link to pop up the file download dialog box

    Time:2020-7-3

    I learned another move today. I didn’t know it before, but there were too few things to do Objective: click the link to pop up the file download dialog boxcode: Copy code The code is as follows: <html> < head > code download< title > code download<body> <a href=”Web.rar” >download</a> </body> </html> If the browser […]

  • How to load the local HTML page in IOS app and click the webpage link to jump to the app page

    Time:2020-6-30

    1、 How to load local HTML file content in app: First prepare an HTML file, such as the following: <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″> <meta http-equiv=”Content-Style-Type” content=”text/css”> <title>title</title> </head> <body> <p> <a href=“http://www.baidu.com”>go to app</a> </p> </body> </html> Next, define a uiwebview in the app to display the HTML file content //Define a WebView […]

  • Some common redirection connection sample codes of HTML

    Time:2020-6-27

    Copy code The code is as follows: window.location.href= ” zcbfH.jsp “; / / redirect in this frameworkonclick=” top.mainFrame.location= ‘<%=path %>/ login.jsp ‘”; / / redirect from a frame to a mainframe frameonclick=” top.window.location= ‘<%=path %>/ login.jsp ‘”/ / redirect from a frame to the entire page

  • Solution to the problem of saving format in textarea of HTML

    Time:2020-6-25

    The format of textarea can be saved to the database when it is saved, but the page cannot be displayed according to the format at the beginning because of /n and non rotation. Therefore, when the page is displayed, a layer should be nested outside the value Label, i.e Copy code The code is as […]

  • Using UL and Li tags of HTML as example code of image display function

    Time:2020-6-16

    Copy the following code to the code area of Dreamweaver, and the following pictures can be displayed during preview, realizing the function of picture display Copy code The code is as follows: <!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> <meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″ /> <style type=”text/css”> Copy code The code is […]