Mainly consists of two files, one is .html and the other is .css. One for storing data, and one for layout
Without further ado, just write the code directly:
test.html
<html><head> <title>CSS</title> <!-- 引入CSS --> <link rel="stylesheet" type="text/css" href="<span style="color:#ff0000;">my.css</span>"/></head><body> <div class="stylelOne"> <img src="ok.PNG"/> </div></body></html>
.stylelOne{ /* 宽度 */ width: 1000px; height: 1000px; background-color: silver;}