Search
 
SCRIPT & CODE EXAMPLE
 

HTML

html css text style on a word

<html>
  <head>
    <style type="text/css">
      p { 
        font-size:14px; 
        color:#538b01; 
        font-weight:bold; 
        font-style:italic;
      }
      .date {
        color: #ff0000;
      }
      .season { /* OK, a bit contrived... */
        color: #0000a0;
      }
    </style>
  </head>
  <body>
    <p>
      Enter the competition by 
      <span class="date">January 30, 2011</span>
      and you could win up to $$$$ — including amazing 
      <span class="season">summer</span> 
      trips!
    </p>
  </body>
</html>
Comment

html css text style on a word

<p style="font-size:14px; color:#538b01; font-weight:bold; font-style:italic;">
  Enter the competition by 
  <span style="color: #ff0000">January 30, 2011</span>
  and you could win up to $$$$ — including amazing 
  <span style="color: #0000a0">summer</span> 
  trips!
</p>
Comment

html css text style on a word

p {
    font-size:14px;
    color:#538b01;
    font-weight:bold;
    font-style:italic;
}

mark.red {
    color:#ff0000;
    background: none;
}

mark.blue {
    color:#0000A0;
    background: none;
}
Comment

PREVIOUS NEXT
Code Example
Html :: html if screen is smaller thatn 
Html :: change color of icon css 
Html :: how to change font color of h2 tag in html 
Html :: html table stack overflow 
Html :: how to write a text inside a div 
Html :: what does html stand for 
Html :: collapse bootstrap 4 
Html :: slick slider video play 
Html :: video html player 
Html :: change font size of input text html 
Html :: Server side validations Laravel 
Html :: ip html 
Html :: telto 
Html :: how to put dowloadable resume on website html 
Html :: draw vertical line tailwind css 
Html :: add color to hr tag 
Html :: html js script 
Html :: html icon code 
Html :: button that links to controller html 
Html :: html disable button tag 
Html :: title in html 
Html :: how to add a blinking text in html 
Html :: autocomplete off not working in chrome 
Html :: hr tag html 
Html :: variables in url_for flask jinja 
Html :: html new line without <br 
Html :: a tag download csv save download 
Html :: tailwind css forms 
Html :: how to stop html audio 
Html :: happy birthday code in html 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =