HTML style element defines styles of HTML document. It is inserted in head of HTML page and used as internal CSS.
<style>CSS styles</style>
You can use style element within head section of HTML document.
Style is a pair tag and output of style element is css styles like you can see in above example.
Open notepad or any other text editor, follow the following points.
save file with name task.html or task.htm and then open it using any browser and see results.
Don't forget style is non empty element which means it always comes in pair.