JD front-end interview questions

  1. The following statement about the difference between Canvas and SVG graphics is wrong because
    the shapes drawn by Canvas can be memorized and manipulated. The
    correct thing is:
    SVG needs to record coordinates for subsequent operations, so it is slow.
    Canvas cannot use the related event processing of drawing objects, because We don’t have their reference
    Canvas and resolution has nothing to do
  2. In an inline element, three different parts of content are displayed. If you want these three content to be distributed at a ratio of 1:1:1, how to achieve it:
positon:relative;
-webkit-box-flew:1;
box-flew:1;
-webkit-flew:1;
flew:1;
  1. Regarding the HTTP POST method, the error described below is
    that the POST request can be made by accessing the URL entered in the URL bar of the browser. The
    correct one is: The
    POST request parameter is placed in the Request Body. The
    POST method is used to submit the request. The processed data
    POST method will generate two TCP packets when requested
  2. Are as follows
div{
    
    
	margin-top:20px;
	margin-right:30px;
	margin-bottom:40px;
	margin-left:50px;
}

Could the following options achieve the same effect as the div?

div{
    
    
	margin:20px 30px 40px 50px;
}
  1. If you want to set a form that will not affect the display of the form due to the change of the screen, you need to set the minimum width of the form to 76 element pixels, all elements are displayed on the left, and the form has a certain distance from the screen.
min-width:76px;
text-align:left;
margin:1em;
  1. The following output is (hello “html”)
<!DOCTYPE html>
<html>
<body>
<p>hello
<q>html</q>
</p>
</body>
</html>
  1. The standard port number for HTTP is 80
  2. The meaning of HTTP status code 403 is Forbidden

Guess you like

Origin blog.csdn.net/weixin_50001396/article/details/113894382