<

HTML <style> Tag

The <style> tag is used to define style information for an HTML document.Inside the <style> element you specify how HTML elements should render in a browser.

Each HTML document can contain multiple <style> tags.

Example



<!DOCTYPE html>
<html>
<head>
<style>
h1 {color:green;}
p {color:red;}
</style>
</head>
<body>

<h1>JAVAMEANT</h1>
<p>A place where you can learn coding.</p>

</body>
</html>















© copyright 2017-2022 Completedone pvt ltd.