OpenTechBook
  • Home
  • Open Books
    • All Open Books

    • Free eBooks
    • Free Magazines
    • Free Journals

    • Submit an Open Book
  • Quizzes
Home » Quiz » CSS Quiz

How do you apply a bold style to text in CSS?

Difficulty level
  • font-style: bold;
  • text-weight: 700;
  • font-weight: bold;
  • bold: true;
The correct option is font-weight: bold;. This property is used to set the weight (boldness) of the font. The other options are either incorrect or do not exist in CSS.
Add your answer
Loading...
Facebook Twitter Linkedin Reddit Pinterest
CSS Quiz
Quiz
In CSS, the ________ property can be used to specify the number of columns in a multi-column layout.
In JCL, which parameter is used to specify the job's priority relative to other jobs?

Related Quiz

  • When trying to create a tooltip widget that appears above an element when hovered, which property and value pair is crucial to ensure that the tooltip does not affect the layout of surrounding elements when it is positioned?
  • What is the purpose of using rgba() in CSS?
  • When designing for internationalization, the property ________ in CSS is crucial for adjusting the layout to accommodate different scripts and writing modes.
  • In BEM methodology, the __ (double underscore) is used to denote a(n) ________ of a block.
  • How do you align the markers (like bullets or numbers) of a list inside or outside the content flow?

Leave a commentCancel

Your email address will not be published. Required fields are marked *

Hot Quiz

PHP QuizMachine Learning QuizReact.js QuizCyber Security QuizPython QuizNode.js QuizASP.NET Core QuizData Science Statistics QuizCSS QuizADO.NET QuizCheckpoint QuizServlet QuizData Modelling QuizAPI Testing QuizDatabase Testing QuizBootstrap QuizAlgorithm QuizComputer Science QuizCommvault QuizJCL Quiz
Copyright © 2025 Open Tech Book
  • About
  • Contact
  • FAQ
  • DMCA
  • Disclaimer
  • Privacy Policy