HTML Tag</strong></p> <p><strong><img src="https://img.php.cn/upload/article/000/000/029/5d9c352313405883.jpg" alt="HTML <style> tag" ></strong></p>#All major browsers support the <style> tag. <p></p> <p>Definition and usage <strong> (Recommended learning: </strong>HTML Getting Started Tutorial<a href="https://www.php.cn/div-tutorial.html" target="_self">)</a></p> <p><style> tag is used to define styles for HTML documents information. <strong></strong></p> <p>In style, you can specify how the HTML document is rendered in the browser. <strong></strong></p>The type attribute is required and defines the content of the style element. The only possible value is "text/css". The <p></p>style element is located in the head section. <p></p> <p>Tips<strong></strong></p> <p>Tips:<strong>To link to an external style sheet, please use the <link> tag. </strong></p> <p>Example: <strong></strong><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:html;toolbar:false"><html> <head> <style type="text/css"> h1 {color: red} p {color: blue} header 1 A paragraph.