I accept to increase the size of a discussion in a middle of a normal font-size sentence.

              <p class="call">To volume a consultation click hither or call At present</p>                          

How tin can I enlarge the NOW word in CSS? If I create new paragraph the word will go to the new line. Whatever advice appreciated.

asked January 21 2011 at 12:39

3 Answers iii

                  <p class="call">To volume a consultation click here or phone call <span form='bigger'>Now</bridge></p>                                  

with CSS

                  .bigger { font-size:200%; }                                  

answered Jan 21 2011 at 12:41

ii

  • Just to elaborate: the indicate here is the distinction between inline elements and block elements. Y'all may want to have a look at quirksmode.org/css/display.html

    January 21 2011 at 12:47

  • Aye, absolutely - I have slapped myself roundly. I would never utilize somthing similar 'bigger' like this - purely for illustrative puroposes

    Jan 21 2011 at 12:50

  1. Decide why you desire it to be bigger (the point is HTML is to depict semantics, not presentation, so you need to recollect well-nigh this sort of affair)
  2. Write appropriate semantic markup
  3. Apply CSS

Perchance:

                <p grade="call">To book a consultation click hither or phone call <em>now</em></p>                              

and in your stylesheet:

                em {  /* or .call em, but you lot should aim for consistency in your styling */     font-style: normal;     font-size: 120%;     text-transform: majuscule; }                              

answered Jan 21 2011 at 12:43

This will also work

                <p> This is some <b> TEXT </b><p>                              

answered February 14 2021 at 4:31

Not the respond y'all're looking for? Scan other questions tagged html css or ask your ain question.