Text does not become bold

0

I am writing a paragraph and on the page I am using Bootstrap 4 and css3, but at the moment of wanting to make a part of the paragraph in bold it is not done with <b> or with <strong>

.texto{
margin-top: 30px;
margin-left: 20px;
margin-right: 20px;
color:black;
font-family: 'Roboto', Arial, sans-serif;
}

p{
    color:#222;
    font-size: 20px;
}
<div class="container-fluid ml-4 pr-5">
  <div class="row">
    <div class=" col-lg-7 " id="contenido-8">
         <div class="texto">
            <h1 class="display-4">NeoBux: Veterana PTC para ganar dinero</h1>
            <hr>
            <p  class="mt-4">
<b>Neobux es la página PTC (Paid To Click o lo que es lo mismo, 
pago por clic) más veterana del sector.</b> 
Bien utilizada y junto a una buena estrategia de referidos alquilados, 
realmente se puede generar grandes beneficios. 
Si estás buscando una página para ganar dinero por Internet a la que dedicar tiempo, 
ésta es sin duda una buena opción para comenzar.</p>
         </div>
    </div>
    <div class="col-lg-4 bg-warning">
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
      tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
      quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
      consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
      cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
      proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
    </div>
</div>

The sections where I put <b> or <strong> do not become bold, why could it be?

    
asked by Victor Escalona 24.05.2018 в 01:26
source

1 answer

2

To put text in bold is not putting color:black if not putting in the css, and in the class in question text-weight: bold and also I'll tell you, that it may be that in other css files, you see the text-weight with values numerical, that at least before css3 there were apparently different bold vouchers.

(Added over the numerical values of text-weight )

  

Depending on the font type,% co_of% 400, 600, 700, 900 are equivalent to normal, semi-bold, bold or extra-bold - alo Malbarez   (Thanks for this info, I have never used numerical values, and I have seen it once, but never appreciate change)

I hope I could have helped you, and for more information you can consult w3schools a page that helps a lot in these things

Edit: You can also add in html, tags like: font-weight or <strong>"Lo que quieras en negrita"</strong> in case you do not want all the text in bold for example and only certain parts.

    
answered by 24.05.2018 в 01:33