HOW TO MAKE A SIMPLE CSS CODING FILE ?
Now we want to learn the way to make a simple coding of css using the style element or tag of the HTML language. <style > tag will use to make a css coding and remember that mostly we use the style element just after the end of the <head> element.
In this code we just learn how to use the style tag and how we can change the predefined attributes of the different tags by using the style element.
Kindly watch the code and implement as mentioned below:
Kindly watch the code and implement as mentioned below:
<html >
<head>
<title>CSS STYLE SHEET SIMPLE PAGE</title>
</head>
<STYLE type="text/css" MEDIA = "SCREEN">
BODY
{
font-family:Tahoma, Geneva, sans-serif;
font-size:16px;
}
P,B
{
font-weight:BOLD;
color:#990066;
}
B
{
font-style:oblique
}
</style>
<body>
<p>THIS IS A SIMPLE OUTPUT USING THE PARAGRAPH ELEMENT USING THE STYLE SHEET ELEMENT.<B> I AM USING THE BOLD ELEMENT. KINDLY FIND IS THERE ANY CHANGE IN THE LOOK </B> IT MEANS THAT THE ELEMENT B IS WORKING AND USING THE OWN VALUES USING THE STYLE SHEET </p>
</body>
</html>
THIS IS A SIMPLE OUTPUT USING THE PARAGRAPH ELEMENT USING THE STYLE SHEET ELEMENT. I AM USING THE BOLD ELEMENT. KINDLY FIND IS THERE ANY CHANGE IN THE LOOK IT MEANS THAT THE ELEMENT B IS WORKING AND USING THE OWN VALUES USING THE STYLE SHEET
No comments:
Post a Comment