• (JSP / HTML) embedded player on Web page


    This is actually very simple, as long as you add the above code to the HTML, it is OK, provided that your computer has installed a player, such as realplay. Copy codeThe code is as follows: < embedded SRC = “C] / MP3 / 10.19/heart painting. Mp3” width = “480” height = “100” 02. Loop […]

  • Canvas and HTML5 implementation of video capture function example


    I’ve been studying canvas all this time. I have a fancy to make a function that can capture video, and then pull the pictures to make an expression pack. Ha ha ha ha~~ Production method: 1. Load the video in the page When using canvas to make this screenshot function, we must first ensure that […]

  • Three methods of HTML select tag and link


    The first kind: Copy code The code is as follows: <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″ /> < title > select and link</head> <body> <SCRIPT language=javascript> <!– // open the related site windows function mbar(sobj) { var docurl =sobj.options[sobj.selectedIndex].value; if (docurl != “”) { open(docurl,’_blank’); sobj.selectedIndex=0; sobj.blur(); } } //–> </SCRIPT> <Select onchange=mbar(this) name=”select”> < […]

  • Table usage of HTML


    We know whether to add code directly to the template when Netease blog can use HTML, but the effect is not very good. That’s because there’s no good arrangement of the code. Now I’m going to talk about using table to arrange the special effects. In HTML syntax, table is an indispensable part. Without a […]

  • The difference between tag and element in HTML


    I believe many new web page learners are just like me. They don’t understand how to define elements, tags and attributes in HTML, and what’s the difference between elements and tags. In order to make a thorough understanding, I specially searched and consulted some materials. Now I write out my conclusions and share them with […]

  • Use of base tag in HTML


    In requirejs, there is a property called baseurl. By setting baseurl, we can write the path of the file to be loaded relative to the project, not relative to the current page. For example: suppose our project directory is / myproject /, which has two pages, one is / myproject // one.html , and / […]

  • Basic understanding and use of HTML select option


    HTML (select option) of JavaScript1、 Basic understanding: Copy code The code is as follows: var e = document.getElementById(“selectId”); e. Options = new option (“text”, “value”);//Create an option object, that is, create one or more < option value = “value” > text < / option > in the < Select > tag//Options is an array, in […]

  • How to load flash in HTML


    The first method: CSS code: Copy code The code is as follows: .b970-a{width:970px; height:103px; margin:4px auto; overflow:hidden;} HTML code:<div> < <object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0″ width=”970″ height=”107″> <param name=”movie” value=”images/flash_ad-3-26.swf”> <param name=”quality” value=”high”> <param name=”wmode” value=”transparent”> <embed src=”images/flash_ad-3-26.swf” width=”970″ height=”107″ quality=”high” pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash” wmode=”transparent”></embed> </object> </div> The second method has good compatibility: CSS code: Copy code The […]

  • HTML add ICO image code( favicon.ico Put it in the root directory)


    code: 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″ /> <link rel=”shortcut icon” href=”favicon.ico” type=”image/x-icon” /> < title > l-360 weight loss coffee is 10 times more effective than ordinary L-carnitine</head> <link href=”css/360.css” rel=”stylesheet” type=”text/css” /> <body> Put one in the […]

  • Summary of practical experience of HTML knowledge points


    1. Table label is table, TR is row, TD is cell, cellspacing is cell to cell distance, cellpadding is inner margin, caption is table title, colSpan is merge column, rowspan is sum and parallel, and table tbodyIt’s all default. If you add more than one tdody, you can solve the problem of page display. 2. […]

  • HTML + CSS + JavaScript to achieve the picture of 3D exhibition example code


    1、 Picture 3D exhibition effect The size of the uploaded image is limited, and the display effect of the recorded GIF image is not very good See the link for the effect of screen recording:https://www.bilibili.com/video/BV1Bi4y1E7wk/ 2、 Code implementation 1. HTML code <!DOCTYPE HTML> <html> <head> <meta charset=”utf-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no”> <meta name=”HandheldFriendly” […]

  • How to use scroll bar in HTML


    Today, when learning the beef brisket news release system, the beef brisket teacher talked about some knowledge of the scroll bar, which was not mentioned much, but only involved part of the knowledge of the scroll bar. If you want to further study, these are not enough, you have to collect some relevant knowledge yourselfI […]