2020-08-09 html button type default attribute + css position positioning + JS template engine + image compression degree of soft skills

2020-08-09 Subject source: http://www.h-camel.com/index.html

[html] What is the default value of the button tag's type?

Try to set the type attribute for the button: 1.type = "button" The button can be clicked

2.type = "submit" The button is submit

3.type = "reset" The button is reset, clear form data

[css] Who is the relative and absolute of position?

The positioning of elements generally has the following 4 ways

1.static default value, no positioning, the element appears in the normal stream;

2.position: absolute; Position relative to the first non-static positioned parent element;

3.position: relative; Positioning relative to itself;

4.position: fixed position relative to the browser window;

[js] Which template engines have you used? Which one do you think works better? why?

https://www.zhihu.com/question/32524504

[Soft Skills] In general, to what extent should large pictures be compressed?

Generally compressed to about 20k

There is a picture format webp

How to compress? https://www.zhihu.com/question/20027708

Guess you like

Origin blog.csdn.net/vampire10086/article/details/108442180