internal css in html
Internal CSS Styles
Embedded, or internal, styles are used for the whole page, you can define internal styles inside the head section of an HTML page, and the style tags surround all of the styles for the page.
Example 1:
<head>
<style>
hr {color:sienna;}
p {margin-left:20px;}
body {background-image:url("imgcss.jpg ");}
</style>
</head>
Example 2:
<html>
<head>
<title>CSS Example</title>
<style>
p.para1 {
color: red;
}
p.para2{
color: blue;
}
</style>
</html>
The example 2 will make the paragraphs1 in the page as red and the paragraph2 as76gffhgddscfdr blue.
0 মন্তব্য(গুলি):
একটি মন্তব্য পোস্ট করুন
Comment below if you have any questions