Here is an example website.

To view a webpage's source code you can right-click on the page and select View Page Source

This is a valuable to for learning how to write your own websites, as you can use it anywhere.
Take a look at the source of this page to see how it is made.

You can define the style of an element with an inline style attribute.

You can also style a portion of your text using the <span> tag inside another tag.