Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

change the color of a text in html code example

Example 1: text color html

<!-- If you want a color on a specific text, use this : -->
<p style="color:---"> Text <p>
  
<!-- Here an exemple if you want a blue text-->
<p stlye="color:blue"> Romuald <p>
  
<!-- If you want a specific class in a color, use css, its better-->

Example 2: how to color in html

<h1 style="color: red;">Hello</h1>

Example 3: how to change font colour in html

<font color="red">
  
	Lorem Ipsum
  
</font>

Tags:

Css Example

Related

html enable smooth scrolling code example which of the following is not a valid method on event emitters code example centering div vertically and horizontally code example jquery check if html is empty code example git desktop application code example flutter firebase push notification ios fireship code example layer in layermask unity code example HOW to make a foreign key oracle code example how to add exception for not passing token in laravel code example delete item from git stash code example Error: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. code example on collider enter 2d unity code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy