How to define style information of a document using HTML5 ?
In this Article, we define style information for a document by using the <style>
element in the document. It is used to change our text, viewed on the page. This change includes changing font-size, font-family, font-color, etc. Not only the texts but you can also change the style of a body or part of a page. Now let us look into various attributes of style and what else the tag supports.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.
Example 1: The following example demonstrates to define style information for a document using HTML5.
Supported Browsers are listed below:
- Google Chrome
- Internet Explorer