Computer >> कंप्यूटर ट्यूटोरियल >  >> प्रोग्रामिंग >> JavaScript

CSS में font-family गुण का उपयोग

font-family गुण का उपयोग फ़ॉन्ट का फेस बदलने के लिए किया जाता है। संभावित मान कोई भी फ़ॉन्ट परिवार नाम हो सकता है।

<html>
  <head>
  </head>
  <body>
    <p style="font-family:georgia,garamond,serif;">
      This text is rendered in either georgia, garamond, or the default serif font
      depending on which font you have at your system.
    </p>
  </body>
</html>

सामान्य फ़ॉन्ट परिवार: serif, sans-serif, monospace, cursive, fantasy।

  1. - CSS में border-right-style गुण का उपयोग

    border-right-style गुण दाएं बॉर्डर की शैली बदलता है। निम्न कोड चलाकर border-right-style गुण लागू करें: उदाहरण <html> <head> </head> <body> <p style=border-width:4px;border-right-style:dashed;> This is demo content </p> </body> </html

  1. - CSS में border-left-width गुण का उपयोग

    border-left-width गुण बाएं बॉर्डर की चौड़ाई बदलता है। निम्न कोड चलाकर border-left-width गुण लागू करें: उदाहरण <html> <head> </head> <body> <p style=border-left-width:6px;border-style:solid;> This is demo content. </p> </body> </html&

  1. - CSS list-style-type गुण का उपयोग

    list-style-type आपको मार्कर के आकार या उपस्थिति को नियंत्रित करने की अनुमति देता है। निम्न कोड चलाकर list-style-type गुण लागू करें: उदाहरण <html> <head> </head> <body> <ul style=list-style-type:circle;> <li>India</li> <li>Australi