We often use a style attribute when learning front-end knowledge, so what exactly does style mean? In this article, we will introduce to you the meaning of style. Let’s look at the specific content below. tag is used to define style information for HTML documents. In style, you can specify how the HTML document is rendered in the browser. </p> <p>The type attribute is required and defines the content of the style element. The only possible value is "text/css", where the style element is in the head section. </p> <p>In short, we can write various contents of CSS in the style tag and write various styles of CSS. Let’s look at the specific examples</p> <p>The code is as follows</p><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:html;toolbar:false"><!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> .test{ height: 200px; width: 200px; background: skyblue; }