English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

What is the use of <style> tag? - Computer Applications

Advertisements
Advertisements

Question

What is the use of <style> tag?

Short Note

Solution

For example, if we want to display <h3> tag in a particular font style and size with blue colour in the entire page,we can use <style> tag to define its properties in head section as follows.

<style>
  h3
  {
    color:blue;
    font-family: "Copperplate Gothic Bold";
    font-size: 14pt;
  }
</style>
shaalaa.com
Introduction to CSS
  Is there an error in this question or solution?
Chapter 13: CSS - Cascading Style Sheets - Evaluation [Page 293]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 13 CSS - Cascading Style Sheets
Evaluation | Q 1. | Page 293
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×