How to add bold text with CSS? [duplicate]


Tags: html,css

Problem :

This question already has an answer here:

Answers to this question show how to prepend/append text to a HTML element contents using CSS. Is there a way to make the CSS-added text bold without making the original HTML element contents bold as well?



Solution :

Sure:

.OwnerJoe:before {
  content: "Joe's Task:";
  font-weight: bold;
}

    CSS Howto..

    How to strongly force line-height in css, with no streches?

    How do I make XAMPP use the paths from my Wordpress themes folder?

    How to build HTML email using CSS?

    How to get CSS to E-Mails back in Magento 1.9.1

    css: How to make elements not to overlap + automatically place them in a relevant position

    Show/Hide Div's via | Save Scrollbar | Save State

    How to change text color (and background) on nav bar links when hovering? [duplicate]

    how to Resize Quick TIme Player to the size of an HTML/CSS DIV

    Basic Accordion pull down using java script and css not working. How can I get it to not have a symbol beside it?

    How can I use CSS to show and hide multiple elements at once?

    How to dynamically positioning html table by using css properties?

    How to put all my elements in line horizontally and Should be Responsive using bootstrap?

    How to position the sharing buttons on upper-left corner of the game and not the view?

    How to set link color inside GridView cell

    How to flip multiple divs using CSS?

    How to add randomness to the blink effect? [closed]

    how to set size of canvas to its background image?

    How to do a “true” carbon fiber CSS background

    how can I do this space between tables? [closed]

    How to dynamically change the style of a comma separated tags with html/css/jquery

    How to create pentagon shape for avatar image?

    CSS: How do I make a !100% header with a repeat-x background and tip

    How to render thin fonts more smoothly in CSS 3 on Windows?

    How to overlap divs using CSS?

    How to have anchors to the side of the page? [closed]

    CSS box-shadow shows weird white region?

    How to format this form using only CSS

    How to scale and center text vertically in a fluid layout? (using CSS)

    How to make text labels stick next to an image in CSS?

    How to do CSS wild card search? [duplicate]