Horje

How to add The <style> tag inside <head>

(adds style information to a page) See the Example.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
<style>
h1 {color:red;}
p {color:blue;}
</style>
</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

Output should be:

How to add The <style> tag inside <head>




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin