摘要:
1.引入JavaScript 1.1引入JavaScript 1.内部标签 <script> alert('Hello World!'); </script> 2.外部引入 xxx.js .... test.html <script src="xxx.js"></script> 例: <!DOCTY 阅读全文
posted @ 2022-09-04 21:31
l希尔瓦娜斯l
阅读(64)
评论(0)
推荐(0)
摘要:
<!--block块元素inline行内元素inline-block,是块元素,但是可以内联,在一行--> <style> div{ width: 100px; height: 100px; border: 1px solid red; display: none; } span{ width: 1 阅读全文
posted @ 2022-09-04 14:12
l希尔瓦娜斯l
阅读(19)
评论(0)
推荐(0)
摘要:
6.定位 6.1相对定位 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!--相对定位 相对于自己原来的位置进行偏移--> <style> body{ padding: 20p 阅读全文
posted @ 2022-09-04 08:53
l希尔瓦娜斯l
阅读(25)
评论(0)
推荐(0)
浙公网安备 33010602011771号