<! DOCTYPE HTML > < HTML > < head > < Meta charset = "UTF-. 8" > < title > </ title > <-! Style type = "text / CSS": indicates Style -> < style type = "text / CSS" > / * div: denotes a selector, or called tags px: represents a pixel width: width height: high background: pink background color * * / div { width : 300px; height: 300px; background: pink; } </style> </head> <body> <div> 黑马程序员 </div> </body> </html>